Quantcast
Channel: bbPress.org » All Posts
Viewing all articles
Browse latest Browse all 3646

Reply To: disable Sidebar

$
0
0

hello,

im having issues with this.

ive taken page-template-full.php from wp-content/themes/Rox

<?php

/**

 * Template Name: Full Width, no sidebar(s)

*/

get_header(); ?>

    <div id="main-fullwidth">



        <?php

            if (have_posts()) : while (have_posts()) : the_post();

                /**

                 * Find the post formatting for the pages in the post-page.php file

                 */

                get_template_part('post', 'page');



                if(comments_open( get_the_ID() ))  {

                    comments_template('', true);

                }

            endwhile;



            else :

                get_template_part('post', 'noresults');

            endif;

        ?>



    </div><!-- #main-fullwidth -->



<?php get_footer(); ?>

and copy pasted as bbpress.php in the same location, and it does nothing.

i managed to have the index full width by making my own page with the forum shortcode and page set using full width layout. but once i click anywhere on the forum (go to a section, thread) the sidebar re appears.

its driving me crazy.


Viewing all articles
Browse latest Browse all 3646

Trending Articles