Hide pages in searching result from website

Posted in: Newspaper
Post count: 9

When users search on website using searching box in results must be shown only for posts, not pages like about us and etc or related.

How can I disable showing pages in the search result in website? I am not talking about search engine

Post count: 27744

Hi,

Our them has only the option to exclude all pages from search -> https://i.imgur.com/TFQ2IGH.png but you can use a plugin that can exclude only the selected page/post -> https://wordpress.org/plugins/search-exclude/

Have a great day!

Post count: 127

I attempted to remove all WordPress pages from the search results per your instructions and checked the box “Exclude pages”. This did not work. Please advise how to remove all WordPress Pages from search results. Thank you.

Post count: 27744

Hello,

Did you try the option from our theme? or did you did with the plugin? Also, ensure the settings are saved and clear/purge the cache.

Thank you!

Post count: 127

I tried following the Theme Option by checking the box “Exclude pages” and Saving and clearing the site and browser cache. This did not work. Please advise. Thank you.

Post count: 27744

Hello,

Please provide some screenshots with your settings and the link to your website.
Also, please make sure in the search template you set on the post loop the post type to posts -> https://i.imgur.com/ocj47xN.png
A solution for sending a screenshot/video is this:
Download, capture, and send: https://www.techsmith.com/jing-tool.html
After making the screenshot, you will have a link; paste it here.

Thank you!

Post count: 3

I am having the same issue. I still cannot get it to work, excluding pages does not work either. However the live search works but on the search page it will only show pages. Please advise on a fix.

Post count: 27744

Hi,

Please let me know what version of the theme you have.

Thank you!

Post count: 3

12.6.1

Post count: 27744

Hi,

Please check if you haver this option enabled https://i.imgur.com/M07MApw.png

Thank you!

Post count: 27744

Hi,

Please check if you haver this option enabled https://i.imgur.com/M07MApw.png

Thank you!

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newspaper’ is closed to new topics and replies.