- October 9, 2015 at 4:30 am #6194
Is it possible to control the way the characters are displayed in the search results box? Currently they appear almost as a sentence and I would like the content to appear as follows:
Also is there a way to Include “See More Information” in each search result box?
Thank you for your time.October 9, 2015 at 10:36 am #6195
This is only possible by either editing the corresponding result template or creating a filter function to modify the results content. Either way you will definitely need to do some programming to parse the information you need (phone number, area, email, etc..), and it also depends on how this information is stored. (part of the content, custom fields or something else).
Here are some guides you can use:
- Results Templating
- Filter example: Changing results url to something else
- Filter example: Showing the category titles in result titles
For the “See more information” text you should probably use the ‘ Show more results..’ text and the ‘ Show more results..’ url option on the Layout Options -> Results layout panel.Best,
If you like my products, don't forget to rate them on codecanyon :)
October 16, 2015 at 12:29 pm #6290
Thank you for your response I read through the articles and reviewed the vertical.php file.
If I create phone number, email and area as custom taxonomies attached to posts can I then add each taxonomy to $r->content_type with <br /> after each?
Also using the “See More Results” feature places the “See More Information” to the very bottom of the box. I wanted to included that term in each individual result box. I noticed that when there is more information to view this appears, –> Is it possible to have it say “See More Information” instead of the symbol.
Sorry I have one more question in regards to the auto complete/suggestions when searching. For example when I search under State and enter “C” it will suggest California, Connecticut, North Carolina and South Carolina. Is there a way to have it only suggest States that the first string/word begins with C therefor excluding North and South Carolina?
Thank you for your time I know I am asking for a lot of information.
You must be logged in to reply to this topic.