Limit "Product Search" feature to some pages only

I have a “Product Search” feature on every of my webpage. I can’t remember the steps or mechanics of inserting this feature. Now I like to have this feature only on 1 or 2 pages of my webpage, instead of it being on every of my webpage (on top of my footer menu).

Can you teach me how to restrict this search feature?

Hello @iamwithU,

Thanks for asking. :slight_smile:

You can take a look at following articles to exclude pages from search as this will require some custom development work which falls outside the scope of support we can offer:
Google Search result for more imformation


Thanks Prasant for prompt reply.
No, not search result. But this “product search” element itself - how do I exclude it? It’s like a footer menu - it appears on every page at the bottom. How do I exclude this search item?
Please see screenshot:

Hi There,

It could be achieved with the custom CSS, please add this custom CSS under Theme Options > CSS:

.page-id-123 . widget_product_search,
.page-id-456 . widget_product_search {
     display: none;

The 123, 456 number is your page ID, to find your page ID please take a look at this article:

Hope it helps :slight_smile:

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.