Search Results Text Layout

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search Results Text Layout

This topic contains 2 replies, has 2 voices, and was last updated by kkmarch7 kkmarch7 8 years, 11 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6194
    kkmarch7
    kkmarch7
    Participant

    Hi

    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:

    Phone Number:
    Area Serving:
    Email:

    Also is there a way to Include “See More Information” in each search result box?

    Thank you for your time.

    #6195
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi!

    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:

    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,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


    #6290
    kkmarch7
    kkmarch7
    Participant

    Hi Ernest,

    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.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.