How to create Search Block for only blog posts

How do I create another Search Block for only blog posts? I would like to place the second search bar only on blog posts.

Some code modification will be required. CS-Cart allows to search by CMS pages out of the box. So you should exclude CMS pages with certain types (forms,polls,etc) and products from the search results

Can you elaborate some more. Can I pay you for this change?

To get a quote please drop a request here

Did anyone create a “Blog only” search since the last post here? We finally created enough blogs that we need to start organizing them and a blog search area would do the trick (not real keen on mixing a search with the main product search since that might tie up more resources each time for each general search (or would it be minimal server resources to just include the blogs?) - OR, is a blog search already included in the latest versions of the cart(?)
Thanks!

I created a block with Google Search for blog only and that did the trick. See it here: The First 24 Hours After Self-Defense: What to Say to Police, Lawyers, and Insurance

That’s a great idea! Thanks! Are there any pointers you can share to set it up?

Go to following link to get code for your site. https://programmablesearchengine.google.com/

You can use AI to update code to how you want it to look. Also check YouTube Videos or use AI if you need help.

1 Like

Perfect, thanks @stunster !!