advanced title and description fields dynamic by searched words

Home Forums Product Support Forums Ajax Search Pro for WordPress Support advanced title and description fields dynamic by searched words

This topic contains 6 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 year, 6 months ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #32063
    foodiefood75
    foodiefood75
    Participant

    Hi,
    I have a Restauran search webpage. And I have their menus as well to search for a single dish.
    But as the search result I get only the Tite and the general description of that restaurant.
    I´d like to get as result:
    The name of the restaurant, and the Dish (searched keyword) and the price.

    I tried to add the variable Main_food_title, but there are more than one e.g. main_food_title2…. and so on.

    How can I display the exact position for the searched word?

    thanks very a lot

    Marcel

    Attachments:
    You must be logged in to view attached files.
    #32065
    foodiefood75
    foodiefood75
    Participant
    You cannot access this content.
    #32072
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    Well, you either have to enter them manually to the advanced title/content fields, or maybe use some sort of a programmatical solution via the asp_results filter.
    I would probably use the programmatical solution, especially if you want to display fileds depending on specific ctriteria.

    Best,
    Ernest Marcinko

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


    #32074
    foodiefood75
    foodiefood75
    Participant
    You cannot access this content.
    #32076
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    I am not sure I understand exactly what you mean by this.

    Do you mean if the keyword match is within the dishes_4_food_title field, then it should display the dishes_4_food_title? I’m afraid that is not possible. The field location of the match is not possible to determine within the query.

    Best,
    Ernest Marcinko

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


    #32079
    foodiefood75
    foodiefood75
    Participant

    Okay I see.
    But is it possible to print as result the text around the searched keywords?

    #32083
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Yes, via this option. However this only works if the keywords were found in the primary or secondary description fields and those fields are actually used for displaying.

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.