hide Home Menu on bbPress pages
-
I have:
WP 4.4.2
bbPress 2.5.8
BuddyPress 2.4.3
Karma theme 3.0.3Please see my forum home page here: http://www.cytoviva.com/userforum/
What I want to do is hide the “white area” with the logo and menu (products, gallery, etc.) ONLY on bbpress forum pages, not the rest of the non-forum pages. Here is the code for my bbPress.php page created from copying another template page and saving it in my child theme (as instructed).
Can anyone tell me what to edit/remove from this page to just remove the home menu, but LEAVE the main top menu (home, about us, client sites) in blue?
I have tried several things and can’t seem to get anywhere.
Thanks in advance!!!
<?php /* Template Name: bbPress */ ?> <?php get_header(); ?> </div><!-- header-area --> </div><!-- end rays --> </div><!-- end header-holder --> </div><!-- end header --> <?php truethemes_before_main_hook();// action hook, see truethemes_framework/global/hooks.php ?> <div id="main"> <?php get_template_part('theme-template-part-tools','childtheme'); ?> <div class="main-holder"> <?php //retrieve value for sub-nav checkbox global $post; $post_id = $post->ID; $meta_value = get_post_meta($post_id,'truethemes_page_checkbox',true); if(empty($meta_value)){ get_template_part('theme-template-part-subnav-horizontal','childtheme'); } ?> <div id="content" class="content_left_sidebar"> <?php if(have_posts()) : while(have_posts()) : the_post(); the_content(); truethemes_link_pages(); endwhile; endif; comments_template('/page-comments.php', true); get_template_part('theme-template-part-inline-editing','childtheme'); ?> </div><!-- end content --> <div id="sidebar" class="left_sidebar"> <?php dynamic_sidebar('bbpress-custom-sidebar'); ?> </div><!-- end sidebar --> </div><!-- end main-holder --> </div><!-- main-area --> <?php get_footer(); ?>
- You must be logged in to reply to this topic.