Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'remove sidebar'

Viewing 25 results - 51 through 75 (of 323 total)
  • Author
    Search Results
  • #174934
    designbysue
    Participant

    That did not work. I still have the wrong widget showing up. The added page is displaying – I know because I added some text to test it, and even though I change the sidebar to the one I want the incorrect one is still showing up. I even tried to remove it and make the page full width and that did not work – the wrong sidebar is still there. Sure hope someone can help me solve this.

    Thanks
    Sue

    #173358
    stewmills
    Participant

    I have:
    WP 4.4.2
    bbPress 2.5.8
    BuddyPress 2.4.3
    Karma theme 3.0.3

    Please 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(); ?>
    #173142
    dasboo125
    Participant

    Hi there

    I am using WordPress Version 4.4.2 and BBPress v2.5.8. I am using a magazine theme called Soledad which allows a number of custom sidebars.

    After setting the forum root to community (and I removed the shortcode from a page) and seeing that I did not have a sidebar, I created a new bbpress.php in a child theme to enable it.

    At first the sidebar was showing as the default one on the main forum index and the individual forums and topics were showing a custom side bar that I had assigned to posts (it shows the author bio)

    After I installed BB WP Tweaks, the main forum index page is showing the correct side bar after adding in the widgets into the BBPress sidebar. However, individual forums and topics are still showing the sidebar assigned to post.

    Any help much appreciated. I have read the how to page on setting up specific sidebars, but not luck.

    Thanks
    Laura

    #173139
    #171589
    jessamca11
    Participant

    i am trying to remove the sidebar from all of the forum pages. i went through the bbpress template files under templates>extras folder and removed:

    <?php get_sidebar)(); ?>

    but they are still showing. is there anything else i can do? i am using simple mag theme.

    thank you!

    pfeufer
    Participant

    So I managed to remove the right sidebar of bbPress by duplicating the “page.php” file and renaming it “forum.php” and dropping that into my parent theme folder. No more sidebar…

    BUT now the bbPress breadcrumb is right behind the Page Title (overlapping). Is there any way to correct this?

    Thanks,
    John

    hellodollyx
    Participant

    Hi,

    Bumped into an issue that i can’t seem to figure out. Please help.

    I have a wp blog(matheson theme) and a bbpress forum.

    Trying to remove the sidebar from posts but keep it on side in the forum.

    When i go to customize menu there is an option to make the posts 100% width. The sidebar moves to the bottom instead of going away. So i went to single.php and removed <?php get_sidebar(); ?> which removes it all together. Great, or so i thought.

    The issue is now the forum is full-width and the sidebar is on the bottom instead of the side.

    any suggestions would be much appreciated. the site is http://goo.gl/M4s9RG

    #170762
    gene-stevo
    Participant

    Hi Folks,
    I thought I had this nailed but my forums are not sending out any messages re new posts.
    I’m using the following setup:
    WP version 4.4.1
    Theme Jolene 1.1.5
    PHP version 5.4.45
    bbPress version 2.5.8-5815
    site url http://conwycameraclub.co.uk
    Active Plugins Name and Version
    – p1 AsynCRONous bbPress Subscriptions 2.1
    – p2 bbP Manage Subscriptions 1.2.0
    – p3 bbP Toolkit 1.0.6
    – p4 bbPress Enable TinyMCE Visual Tab 1.0.1
    – p5 bbPress 2.5.8
    – p6 bbPress2 shortcode whitelist 2.2.1
    – p7 Content Aware Sidebars 3.0.1
    – p8 Duplicate Post 2.6
    – p9 GD bbPress Attachments 2.3.1
    – p10 My Calendar 2.4.13
    – p11 Nav Menu Roles 1.7.4
    – p12 PDF Embedder 2.4.1
    – p13 Postman SMTP 1.7.2
    – p14 Remove Widget Titles 1.0
    – p15 Fast Secure Contact Form 4.0.39
    – p16 Simple Custom CSS 3.3
    – p17 Slideshow 2.3.1
    – p18 TablePress 1.7
    – p19 W3 Total Cache 0.9.4.1
    – p20 WP User Avatar 2.0.4
    This is a real pain as I’ve only just created the user accounts for the club membership at:
    conwycameraclum.co.uk/forums
    I’ve checked all the setting options on the associated plugins but can’t find anything that could be causing the problem. Sending a test message from postman SMTP works and the site is providing admin messages re users changing passwords etc. Seams only bbP that doesn’t want to comunicate.
    Any help greatly appreciated. Cheers, Eugene

    #170228
    marksibly
    Participant

    Hi,

    I’m new to both wordpress and bbpress, and am having a few problems customzing a theme for my forums.

    I am copying ‘page.php’ (or ‘index.php’ in the case of stargazer) to ‘bbpress.php’ and editing that.

    Mainly, I just want to get rid of the posts/navbar stuff and have full width forums. However, I seem to need to remove get_footer() to achieve this (there doesn’t seem to be a get_nav() or get_sidebar() in either theme I’ve tried) – but doing this causes odd side effects.

    In the case of the ‘stargazer’ theme, removing the footer causes extra ‘>’ chars to be inserted into the forum breadcrumb trail. Forums are still only about 60% of page width too.

    In the case of the ‘twentyfifteen’ theme, it causes the theme to go into some weird mode where a bunch of HUGE links suddenly appears on the left of the page.

    Can anyone suggest a good ‘starter’ theme for me to play with, along with possibly hints for how to get a ‘clean’ forum page?

    Apart from this, setting up bbpress has been a breeze!

    Bye!
    Mark

    #170201
    macms
    Participant

    I have read other posts regarding the alignment of bbPress after removing the R side bar in a theme. I would like to center the forum on this page. Any help would be appreciated.

    Thanks!

    http://copdcommunity.org/forums/

    WP version 4.4
    Theme Twenty Sixteen 1.0
    bbPress version 2.5.8-5815
    bbp style pack 2.8.4
    bbP Toolkit 1.0.5

    I created bbpress.php and placed it in the theme root dir to remove the R sidebar.

    <?php
    get_header(); ?>
    <div id="main-content">
    	<div class="container">
    		<div id="content-area" class="clearfix">
    			<div>
    			<?php while ( have_posts() ) : the_post(); ?>
    				<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
    					<h1 class="main_title"><?php the_title(); ?></h1>
    					<div class="entry-content">
    					<?php the_content(); ?>
    					</div> <!-- .entry-content -->
    				</article> <!-- .et_pb_post -->
    			<?php endwhile; ?>
    			</div>
    		</div> <!-- #content-area -->
    	</div> <!-- .container -->
    </div> <!-- #main-content -->
    <?php get_footer(); ?>
    tomsw
    Participant

    Hi all,

    I am a newbie so I am sorry if this is an easy answer however I have not been able to find the answer or in the documentation.

    I am setting up a forum on a small site and have installed bbpress. I am wondering how to remove the sidebar and add the correct sidebar for the forum options (login, register, search etc.) also is it possible to place these options above the forum? I was watching a tutorial on youtube which showed the sidebar added automatically after the install of bbpress but it may have been an older version.

    I am currently using the latest wordpress 4.4, bbpress 2.5.8 and the esteem template. I did try to use twenty fourteen and twenty sixteen temprorarily but couldn’t add the sidebar under widgets as there was no bbpress sidebar.

    Thanks,

    Tom

    #167450
    Robkk
    Moderator

    @davidschwartzer

    It is blank on the forum root because of the theme. Use this bbpress.php file I just created and plop it in your theme preferably a child theme to fix that issue. I also fixed an issue where the user profiles also lead to a blank page.

    It also makes your forums full-width, I didn’t really know if you wanted full-width forums but I just created you full-width forums haha. (I could change it to a sidebar layout if want.)

    https://gist.github.com/robkk/b97ff7d7655080cbcaab

    For the top level I created a Forum called Apple Tech Talk Forums.Under that, I have forums for General Discussion, Hardware and Software. Those forums point to the Apple Tech talk Forums as the Parent.

    You do not need to do that anymore since I just fixed the forum root page for you.

    Within those forums I have set up categories like Desktop, Portable, etc. It’s within those categories that topics would be created.

    I think it is better for you to have Software as a category and say IOS as a forum for example.

    I tried to remove the Apple Tech Talk Forums from the Forums list but then I get a 404 error if I go to the Forums tab on the site.

    Just change the menu link url to a custom link that leads to /forums on your site.

    #167035

    In reply to: Sidebar Help

    Robkk
    Moderator

    Do you want full width forums and just the sidebar placed under the forums??

    If you do remove this part of the CSS code.

    .bbpress .sidebar {
      width: 0;
      display: none;
    }

    i can tell you are also using a full width template from your theme, and of course that will hide the sidebar.

    #165829
    ananotheruser
    Participant

    Hello everyone,

    I’m running bbpress with the BrickYard theme and I’m use the right sidebar.

    Actually I was able to display the sidebar to all of my blog but the forum : I deleted the line “<?php get_sidebar(); ?>” from the file page.php then I saved it under the name of “bbpress.php”.

    It works but the forum isn’t at a full width :

    And I tried to get the full width but I’m not able to, after some hours I give up.

    I read the documentation of the theme, there is a “template-full-width.php” within the theme but it doesn’t work because it’s page.php without the line that gets the sidebar and that I removed so the problem is still there (I believe that it should auto-resize without the sidebar but it’s not the case).

    Best regards,
    ananotheruser

    PS : Sorry about my crappy english.

    #165498
    stardrive
    Participant

    Please, I removed BBPress Login Widget from the right sidebar. I placed another login widget from a different plugin author. But, it is still showing in the right sidebar in the front end, and the other login widget is not showing.
    Any help as to how to permanently remove the BBPress Login widget?

    Regards,

    Stardrive

    #165489

    In reply to: bbPress Shortcode

    Robkk
    Moderator

    @acs-yt

    Try this custom CSS to see if it would help make your forums full width.

    @media and (min-width: 992px) {
     .bbpress .col-md-8 {
        width: 100%;
     }
    }

    Use this to completely remove the sidebar with CSS.

    @media and (min-width: 992px) {
    .bbpress .col-md-4 {
         width: 0;
         display: none;
     }
    }
    #165396
    cmonache
    Participant

    Never mind… this post helped 🙂

    Remove Sidebar

    #164962

    In reply to: Full width and sidebar

    Robkk
    Moderator

    Step by step might be this

    • Install What the File.
    • Go to your bbPress page with the sidebar, and with what the file activated you look in your WOrdPress toolbar and see what bbPress template file it is.
    • Then find the file in your theme, copy it and rename it to `bbpress.php’ and remove any unwanted code such as the sidebar code.</li>
      </ul>

      Usually in a theme the sidebar code is similar to this, so remove this to remove the sidebar.

      <?php get_sidebar(); ?>

    #164955

    In reply to: Full width and sidebar

    davidnsfw
    Participant

    I have added that code to css editor.

    It would be perfect if you could instruct how to remove sidebar step by step.

    #164914

    In reply to: Full width and sidebar

    davidnsfw
    Participant

    Probably after updating the theme, this sidebar is showing there.

    Can you be more precise where I should remove this code?

    #164895

    In reply to: Full width and sidebar

    Robkk
    Moderator

    THis is all the CSS you need.

    .bbpress .post-section {
    margin: 0 2% 20px;
    width: 96%;
    }
    
    .bbpress #content-main {
    width: 100%;
    margin-right: 0;
    }
    
    @media screen and (max-width: 1002px) and (min-width: 768px)
    .bbpress #content-main-inner {
        margin-right: 0;
    }

    To remove the sidebar you have to follow this guide and remove the sidebar PHP code.

    Getting Started in Modifying the Main bbPress Template

    #164881
    Robkk
    Moderator

    Not sure about forum subscriptions or if this would work with group forums, but it might be worth a try.

    Install this plugin, put the widget into your sidebar, and go to each topic and remove the users subscriptions manually.

    https://github.com/easydigitaldownloads/bbPress-Topic-Subscribers

    Other than this plugin for topic subscritptions, I do not know what else to recommend right now.

    If group admin ban a user, Ideally banned user should be automatically unsubscribed to group forum. But according to my tests new notifications are still sent by bbpress plugin to banned or removed users.

    Will keep a note of this, because this is expected if you ban a user. Maybe bbPress or BuddyPress could add this in the future.

    Robkk
    Moderator

    You have to copy the main template bbPress is inheriting from your theme for its layout and create a bbpress.php file from it. This would usually require you to remove the sidebar code, then use CSS to make the layout fullwidth.

    Getting Started in Modifying the Main bbPress Template

    #164605
    Robkk
    Moderator

    You have to copy the main template bbPress is inheriting from your theme for its layout and create a bbpress.php file from it. This would usually require you to remove the sidebar code, then use CSS to make the layout fullwidth.

    Getting Started in Modifying the Main bbPress Template

    #164073
    division123
    Participant

    Hi, i am trying to remove the sidebar as well, below is my code from page.php which I have duplicated and renamed bbpress.php but I can’t see which code I need to remove?

    <?php get_header(); ?>

    <?php
    $options = get_option(‘sf_dante_options’);

    $default_show_page_heading = $options[‘default_show_page_heading’];
    $default_page_heading_bg_alt = $options[‘default_page_heading_bg_alt’];
    $default_sidebar_config = $options[‘default_sidebar_config’];
    $default_left_sidebar = $options[‘default_left_sidebar’];
    $default_right_sidebar = $options[‘default_right_sidebar’];
    $sidebar_width = $options[‘sidebar_width’];

    $pb_active = sf_get_post_meta($post->ID, ‘_spb_js_status’, true);
    $show_page_title = sf_get_post_meta($post->ID, ‘sf_page_title’, true);
    $page_title_style = sf_get_post_meta($post->ID, ‘sf_page_title_style’, true);
    $page_title = sf_get_post_meta($post->ID, ‘sf_page_title_one’, true);
    $page_subtitle = sf_get_post_meta($post->ID, ‘sf_page_subtitle’, true);
    $page_title_bg = sf_get_post_meta($post->ID, ‘sf_page_title_bg’, true);
    $fancy_title_image = rwmb_meta(‘sf_page_title_image’, ‘type=image&size=full’);
    $page_title_text_style = sf_get_post_meta($post->ID, ‘sf_page_title_text_style’, true);
    $fancy_title_image_url = “”;

    if ($show_page_title == “”) {
    $show_page_title = $default_show_page_heading;
    }
    if ($page_title_bg == “”) {
    $page_title_bg = $default_page_heading_bg_alt;
    }
    if ($page_title == “”) {
    $page_title = get_the_title();
    }

    foreach ($fancy_title_image as $detail_image) {
    $fancy_title_image_url = $detail_image[‘url’];
    break;
    }

    if (!$fancy_title_image) {
    $fancy_title_image = get_post_thumbnail_id();
    $fancy_title_image_url = wp_get_attachment_url( $fancy_title_image, ‘full’ );
    }

    $sidebar_config = sf_get_post_meta($post->ID, ‘sf_sidebar_config’, true);
    $left_sidebar = sf_get_post_meta($post->ID, ‘sf_left_sidebar’, true);
    $right_sidebar = sf_get_post_meta($post->ID, ‘sf_right_sidebar’, true);

    if ($sidebar_config == “”) {
    $sidebar_config = $default_sidebar_config;
    }
    if ($left_sidebar == “”) {
    $left_sidebar = $default_left_sidebar;
    }
    if ($right_sidebar == “”) {
    $right_sidebar = $default_right_sidebar;
    }

    sf_set_sidebar_global($sidebar_config);

    $page_wrap_class = $post_class_extra = $sidebar_class = ”;
    if ($sidebar_config == “left-sidebar”) {
    $page_wrap_class = ‘has-left-sidebar has-one-sidebar row’;
    if ($sidebar_width == “reduced”) {
    $post_class_extra = ‘push-right col-sm-9’;
    $sidebar_class = ‘col-sm-3’;
    } else {
    $post_class_extra = ‘push-right col-sm-8’;
    $sidebar_class = ‘col-sm-4’;
    }
    } else if ($sidebar_config == “right-sidebar”) {
    $page_wrap_class = ‘has-right-sidebar has-one-sidebar row’;
    if ($sidebar_width == “reduced”) {
    $post_class_extra = ‘col-sm-9’;
    $sidebar_class = ‘col-sm-3’;
    } else {
    $post_class_extra = ‘col-sm-8’;
    $sidebar_class = ‘col-sm-4’;
    }
    } else if ($sidebar_config == “both-sidebars”) {
    $page_wrap_class = ‘has-both-sidebars row’;
    $post_class_extra = ‘col-sm-9’;
    $sidebar_class = ‘col-sm-3’;
    } else {
    $page_wrap_class = ‘has-no-sidebar’;
    }

    $remove_breadcrumbs = sf_get_post_meta($post->ID, ‘sf_no_breadcrumbs’, true);
    $remove_bottom_spacing = sf_get_post_meta($post->ID, ‘sf_no_bottom_spacing’, true);
    $remove_top_spacing = sf_get_post_meta($post->ID, ‘sf_no_top_spacing’, true);

    if ($remove_bottom_spacing) {
    $page_wrap_class .= ‘ no-bottom-spacing’;
    }
    if ($remove_top_spacing) {
    $page_wrap_class .= ‘ no-top-spacing’;
    }

    $options = get_option(‘sf_dante_options’);
    $disable_pagecomments = false;
    if (isset($options[‘disable_pagecomments’]) && $options[‘disable_pagecomments’] == 1) {
    $disable_pagecomments = true;
    }

    ?>

    <?php if ($show_page_title) { ?>
    <div class=”container”>
    <div class=”row”>
    <?php if ($page_title_style == “fancy”) { ?>
    <?php if ($fancy_title_image_url != “”) { ?>
    <div class=”page-heading fancy-heading col-sm-12 clearfix alt-bg <?php echo $page_title_text_style; ?>-style fancy-image” style=”background-image: url(<?php echo $fancy_title_image_url; ?>);”>
    <?php } else { ?>
    <div class=”page-heading fancy-heading col-sm-12 clearfix alt-bg <?php echo $page_title_bg; ?>”>
    <?php } ?>
    <div class=”heading-text”>
    <h1 class=”entry-title”><?php echo $page_title; ?></h1>
    <?php if ($page_subtitle) { ?>
    <h3><?php echo $page_subtitle; ?></h3>
    <?php } ?>
    </div>
    </div>
    <?php } else { ?>
    <div class=”page-heading col-sm-12 clearfix alt-bg <?php echo $page_title_bg; ?>”>
    <div class=”heading-text”>
    <h1 class=”entry-title”><?php echo $page_title; ?></h1>
    </div>
    <?php
    // BREADCRUMBS
    if (!$remove_breadcrumbs) {
    echo sf_breadcrumbs();
    }
    ?>
    </div>
    <?php } ?>
    </div>
    </div>
    <?php } ?>

    <?php if ($sidebar_config != “no-sidebars” || $pb_active != “true”) { ?>
    <div class=”container”>
    <?php } ?>

    <div class=”inner-page-wrap <?php echo $page_wrap_class; ?> clearfix”>

    <?php if (have_posts()) : the_post(); ?>

    <!– OPEN page –>
    <div class=”clearfix <?php echo $post_class_extra; ?>” id=”<?php the_ID(); ?>”>

    <?php if ($sidebar_config == “both-sidebars”) { ?>
    <div class=”row”>
    <div class=”page-content col-sm-8″>
    <?php the_content(); ?>
    <div class=”link-pages”><?php wp_link_pages(); ?></div>

    <?php if ( comments_open() && !$disable_pagecomments ) { ?>
    <div id=”comment-area”>
    <?php comments_template(”, true); ?>
    </div>
    <?php } ?>
    </div>

    <aside class=”sidebar left-sidebar col-sm-4″>
    <div class=”sidebar-widget-wrap sticky-widget”>
    <?php dynamic_sidebar( $left_sidebar ); ?>
    </div>
    </aside>
    </div>
    <?php } else { ?>
    <div class=”page-content clearfix”>

    <?php the_content(); ?>

    <div class=”link-pages”><?php wp_link_pages(); ?></div>

    <?php if ( comments_open() && !$disable_pagecomments ) { ?>
    <?php if ($sidebar_config == “no-sidebars” && $pb_active == “true”) { ?>
    <div id=”comment-area” class=”container”>
    <?php } else { ?>
    <div id=”comment-area”>
    <?php } ?>
    <?php comments_template(”, true); ?>
    </div>
    <?php } ?>
    </div>
    <?php } ?>

    <!– CLOSE page –>
    </div>

    <?php endif; ?>

    <?php if ($sidebar_config == “left-sidebar”) { ?>
    <aside class=”sidebar left-sidebar <?php echo $sidebar_class; ?>”>
    <div class=”sidebar-widget-wrap sticky-widget”>
    <?php dynamic_sidebar( $left_sidebar ); ?>
    </div>
    </aside>
    <?php } else if ($sidebar_config == “right-sidebar”) { ?>
    <aside class=”sidebar right-sidebar <?php echo $sidebar_class; ?>”>
    <div class=”sidebar-widget-wrap sticky-widget”>
    <?php dynamic_sidebar( $right_sidebar ); ?>
    </div>
    </aside>
    <?php } else if ($sidebar_config == “both-sidebars”) { ?>
    <aside class=”sidebar right-sidebar col-sm-3″>
    <div class=”sidebar-widget-wrap sticky-widget”>
    <?php dynamic_sidebar( $right_sidebar ); ?>
    </div>
    </aside>
    <?php } ?>

    </div>

    <?php if ($sidebar_config != “no-sidebars” || $pb_active != “true”) { ?>
    </div>
    <?php } ?>

    <!–// WordPress Hook //–>
    <?php get_footer(); ?>

Viewing 25 results - 51 through 75 (of 323 total)
Skip to toolbar