Skip to:
Content
Pages
Categories
Search
Top
Bottom

full width and remove sidebar

Viewing 4 replies - 1 through 4 (of 4 total)
  • @robin-w

    Moderator

    @albertoe

    Participant

    Thanks Robin, I check that a bbpress.php was created with this code:

    <?php
    get_header();
    
    ?>
    
    	<div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
    		<div class="td-container">
    			<div class="td-pb-row">
                    <div class="td-pb-span8 td-main-content">
                        <div class="td-ss-main-content">
                            <?php
                                if (have_posts()) {
                                    while ( have_posts() ) : the_post();
                                        ?>
                                        <h1 class="entry-title td-page-title">
                                            <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a>
                                        </h1>
                                        <?php
                                        the_content();
                                    endwhile; //end loop
                                }
                            ?>
                        </div>
                    </div>
                    <div class="td-pb-span4 td-main-sidebar">
                        <div class="td-ss-main-sidebar">
                            <?php dynamic_sidebar( 'td-default' ) ?>
                        </div>
                    </div>
    			</div> <!-- /.td-pb-row -->
    		</div> <!-- /.td-container -->
    	</div>
    <?php
    get_footer();
    ?>

    And I change with for this code:

    <?php
    get_header();
    
    ?>
    
    	<div class="td-main-content-wrap td-main-page-wrap td-container-wrap">
    		<div class="td-container">
    			<div class="td-pb-row">
                    <div class="td-pb-span8 td-main-content">
                        <div class="td-ss-main-content">
                            <?php
                                if (have_posts()) {
                                    while ( have_posts() ) : the_post();
                                        ?>
                                        <h1 class="entry-title td-page-title">
                                            <a href="<?php the_permalink()?>" rel="bookmark" title="<?php the_title_attribute() ?>"><?php the_title() ?></a>
                                        </h1>
                                        <?php
                                        the_content();
                                    endwhile; //end loop
                                }
                            ?>
                        </div>
                    </div>
    			</div> <!-- /.td-pb-row -->
    		</div> <!-- /.td-container -->
    	</div>
    <?php
    get_footer();
    ?>

    I refresh cache but nothing happends. Any idea?

    @albertoe

    Participant

    Thanks! I just solve it. Newspaper have a easy way to do it: https://www.screencast.com/t/mBpKNTzt

    @robin-w

    Moderator

    great – glad you are fixed

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar