Just installed the Redline theme and I'm wondering how I can get rid of the Pages and Admin widget type sections on the right side. I can add a new widget to the side but those other ones are still there.
Any help would be great.
Thanks.
Just installed the Redline theme and I'm wondering how I can get rid of the Pages and Admin widget type sections on the right side. I can add a new widget to the side but those other ones are still there.
Any help would be great.
Thanks.
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>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.
You must log in to post.