Not Hiding A Page – Simple Implementation
-
Hi there,
I have a site-wide search form only on our 404 page – nothing special going on, I’m just using
get_search_form();I’ve looked through my template and I have no other search filtering going on besides
if ('woocasepro' === $post->post_type) { do_action('searchexclude_hide_from_search', array($post->ID), true); }(To hide product banners)
I’ve tried sticking
do_action('searchexclude_hide_from_search', [27991], true);into that same function, for this specific page ID, but no luck.See https://cdnrecords.com/?s=existential+dissipation
Edit – could it have anything to do with WP5 and the new block editor?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Not Hiding A Page – Simple Implementation’ is closed to new replies.