This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Highlight original keywords defined by synonyms

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

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #38677
    LHASLHAS
    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 MarcinkoErnest 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.

    #38705
    LHASLHAS
    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 MarcinkoErnest 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

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.