Viewing 2 replies - 1 through 2 (of 2 total)
  • If you are comfortable editing files.

    Save sidebar.php to a backup file, in case you need to restore it.

    Call up sidebar.php in a text editor

    It looks like :

    <div id="secondary" class="aside" role="complementary">
    	<div id="sidebar_top">
    		<?php get_sidebar( 'top' ) ?>
    	</div>
    
    	<div id="sidebar_bottom">
    		<div id="sidebar_left">
    		<?php //get_sidebar( 'left' ) ?>
    		</div>
    
    		<div id="sidebar_right">
    		<?php //get_sidebar( 'right' ) ?>
    
    </div></div></div>

    Delete

    <div id="sidebar_bottom">
    		<div id="sidebar_left">
    		<?php //get_sidebar( 'left' ) ?>
    		</div>
    
    		<div id="sidebar_right">
    		<?php //get_sidebar( 'right' ) ?>
    
    </div></div>

    So the final file looks like :

    <?php
    /**
     * Template: Sidebar.php
     *
     * @package RedLine
     * @subpackage Template
     */
    ?>
    	<!--BEGIN #secondary .aside-->
    <div id="secondary" class="aside" role="complementary">
    	<div id="sidebar_top">
    		<?php get_sidebar( 'top' ) ?>
    	</div>
    </div>
    Thread Starter kelemvor

    (@kelemvor)

    I’m fine editing the files, I just couldn’t figure out which ones to modify. I was in sidebar-right and could get rid of the admin part but couldn’t find the pages part.

    Your edits worked fine.

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Theme: RedLine] Remove Admin & Pages from the sidebar?’ is closed to new replies.