Excluded categories showing
-
Hi, Great plugin. I’ve noticed an issue for a while and thought you’d probably know the answer pretty quickly.
I excluded a category in the Searching tab. But when I search using the frontend, posts from that category show up along with the other results. When I perform the admin search, the posts from the excluded category do not show up. I can’t figure out what the issue is. Other categories that I excluded using the same method are being excluded properly it seems.Here’s what my search php page has:
<?php /* Template Name: Search Page */ ?> <?php get_header(); ?> <?php echo do_shortcode('[et_pb_section global_module="9281"][/et_pb_section]'); ?> <div id="main-content"> <div class="container"> <div id="content-area" class="<?php extra_sidebar_class(); ?> clearfix"> <div class="et_pb_extra_column_main"> <?php if ( is_search() ) { ?> <h1><?php printf( esc_html__( 'Search Results for: %s', 'extra' ), get_search_query() ); ?></h1> <?php } else if ( is_archive() && have_posts() ) { ?> <h1><?php the_archive_title(); ?></h1> <?php } ?> <?php if ( is_extra_tax_layout() ) { ?> <?php extra_tax_layout(); ?> <?php } else { ?> <?php require locate_template( 'index-content.php' ); ?> <?php } ?> </div> <?php get_sidebar(); ?> </div> <!-- #content-area --> </div> <!-- .container --> </div> <!-- #main-content --> <?php get_footer();
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 ‘Excluded categories showing’ is closed to new replies.