suggestion word bold

  • rvs
    Participant
    3 years, 11 months ago #19900

    Hi,

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

    rvs
    Participant
    3 years, 11 months ago #19903

    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
    3 years, 11 months ago #19908

    No support?

    wpsolr
    Keymaster
    3 years, 11 months ago #19911

    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
    3 years, 11 months ago #19912

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

    Is there a tutorial or something?

    wpsolr
    Keymaster
    3 years, 11 months ago #19916

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

    rvs
    Participant
    3 years, 11 months ago #19917

    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
    3 years, 11 months ago #19918

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

    wpsolr
    Keymaster
    3 years, 11 months ago #19919

    What is “fancy > suggestions.html” ?

    rvs
    Participant
    3 years, 11 months ago #19920

    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
    3 years, 11 months ago #19921

    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
    3 years, 11 months ago #19923

    it from your theme haha

    rvs
    Participant
    3 years, 11 months ago #19924

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

    How do i get those?

    wpsolr
    Keymaster
    3 years, 11 months ago #19925

    The yellow highlighting should be there too for you.

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

    rvs
    Participant
    3 years, 11 months ago #19926
Viewing 15 posts - 1 through 15 (of 17 total)

You must be logged in to reply to this topic.