Highlight original keywords defined by synonyms

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Highlight original keywords defined by synonyms

This topic contains 3 replies, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 1 week, 5 days ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38677
    LHAS
    LHAS
    Participant

    Hi,

    I think the index table engine allows me to define synonyms and hit that page in the search results, but it does not highlight the search string in the search results because it is not the original keyword.
    Is it possible to highlight the original keywords defined in the synonyms that are included in the content?

    Thank you for your support.

    #38691
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi,

    I’m afraid this is not possible. Usually I recommend a custom coded snippet when possible to resolve a case, but this is way more complicated than that.

    Best,
    Ernest Marcinko

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


    #38705
    LHAS
    LHAS
    Participant

    Thank you for your reply.
    BTW, is there an API to get synonym keywords from original keyword?
    I looked at the knowledge base but could not find it.

    #38719
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Well, there is no API, but you can access them very easily programmatically:

    ASP_Synonyms::getInstance()->get('word'); // Array of synonyms, empty if none

    Best,
    Ernest Marcinko

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


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

You must be logged in to reply to this topic.