• Resolved adi2021

    (@adi2021)


    How do I add the Fibosearch search bar to the category pages in my woo commerce WordPress shop? I can only see it on the main shop page and no where else.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Damian Góra

    (@damian-gora)

    Hi,

    it depends on your theme. There is no one answer, so I can leave some general tips here:

    1. Ask your theme authors what is the best way to achieve it in your theme.

    2. Go to Appearance -> Widget and check if your theme has a dedicated widgets area for the product category archive. If yes you can add a widget called “FiboSearch bar”.

    3 WooCommerce has a lot of conditional tags you can use in your templates. This way requires coding, but it is the most flexible. There is function is_product_category() that returns true when viewing a product category archive. You can use it e.g. in the following way:

    if ( is_product_category() ) {
        do_shortcode( '[fibosearch]' );
    }
    Thread Starter adi2021

    (@adi2021)

    @damian-gora I am not very well versed with WordPress. Am I supposed to add this code in the functions.php file?

    Thanks a lot for the reply.

    • This reply was modified 3 years, 3 months ago by adi2021.
    Plugin Author Damian Góra

    (@damian-gora)

    Unfortunately, it’s more complicated than adding it to functions.php. I mentioned few propositions. The third point requires basic knowledge of theme development.

    In your case, I recommend contacting your theme authors, because the behavior you need is managed by theme, not by FiboSearch.

    Thread Starter adi2021

    (@adi2021)

    @damian-gora Okay Thanks,

    Will do so.

    Thanks a lot for your help

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to add Fibosearch to Category pages?’ is closed to new replies.