suggestion word bold

  • rvs
    Participant
    # 2 years, 1 month ago

    Hi,

    How do we get the key searchword bold in the suggestion results?
    Like https://ibb.co/vXHDZyj

    rvs
    Participant
    # 2 years, 1 month ago

    I have downloaded the example child theme. I previewed manual some files within it. I have seen the yellow shadings on the keywords.

    So my question is

    1. this option is not a default in the WPSOLR Fancy theme?
    2. If i need to install this Twig template, how do i do that?

    rvs
    Participant
    # 2 years, 1 month ago

    No support?

    wpsolr
    Keymaster
    # 2 years, 1 month ago

    1. Highlighting is only available with the keywords suggestions type, indeed.
    2. Relative to path “my_theme/wpsolr-templates/twig”. You configure the relative path for each custom suggestions with the filter WPSOLR_Events::WPSOLR_FILTER_SUGGESTIONS_TEMPLATES, as shown in the example.

    rvs
    Participant
    # 2 years, 1 month ago

    . How to configure?
    . Each custom suggestion?
    . Sorry which example?

    Is there a tutorial or something?

    wpsolr
    Keymaster
    # 2 years, 1 month ago

    The example child theme contains a full working example. All is commented inside the code.

    rvs
    Participant
    # 2 years, 1 month ago

    I see the yellow selection also in fancy > suggestions.html
    Why can’t i see it in theme?

    please make it a bit clearer, doing my best here but this answer is not helping me.
    Maybe you should think about a good tutorial.
    Your plugin can do a lot, but the info how to get there, its not so easy to find.
    Or completely missing. Is there a complete manual?
    I have seen all forum posts, video’s etc. But its not 100% explaining the how to’s

    Thinking in advance here 😉

    rvs
    Participant
    # 2 years, 1 month ago

    I see the yellow selection also in fancy > suggestions.html
    Why can’t i see it in ***MY theme?***

    wpsolr
    Keymaster
    # 2 years, 1 month ago

    What is “fancy > suggestions.html” ?

    rvs
    Participant
    # 2 years, 1 month ago

    its a preview file in the theme.

    It has the yellow background arround the keyword.
    Just like here https://www.bladmuziekplus.nl/

    How do i get those?

    wpsolr
    Keymaster
    # 2 years, 1 month ago

    Sorry, but no idea what you’re talking about. I can just speak for the plugin’s files, not your theme’s files.

    rvs
    Participant
    # 2 years, 1 month ago

    it from your theme haha

    rvs
    Participant
    # 2 years, 1 month ago

    It has the yellow background arround the keyword.
    Just like here https://www.bladmuziekplus.nl/

    How do i get those?

    wpsolr
    Keymaster
    # 2 years, 1 month ago

    The yellow highlighting should be there too for you.

    Can you send me a screenshot of your theme’s suggestions?

    rvs
    Participant
    # 2 years, 1 month ago
Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.