Exclude a CPT Post Type From Header Live Search

Posted in: Newspaper
Post count: 1

Hi there,

I’ve been attempting to exclude a Custom Post Type (CPT) from the header live search feature, but so far, I haven’t been successful in figuring out how to do it. Despite trying various methods, I’m still unable to achieve the desired result.

Specifically, when I attempt to include more than one post type in the search results through the post type section, the live search module ceases to function altogether. Is there a workaround or specific approach I can take to successfully exclude the CPT while still maintaining the functionality of the live search feature?

Any guidance or assistance you can provide on resolving this issue would be greatly appreciated.

Post count: 27744

Hello,

Unfortunately, you can not exclude a CPT from the search. Also, you can set only one cpt in the search. If you want this functionality, it can be done only with custom work.

Thank you!

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