SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    724
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)

    how do I get rid of the extra items on a side bar

    items such as
    "Archives
    March 2013
    Categories
    Uncategorized (1)
    Meta
    Site Admin
    Log out
    WordPress
    Subscribe
    Entries (RSS)
    Comments (RSS)
    "
    I check the widget area. my sidebars have one widget each and no widgets respectivly.
    also for some reason the styling for one of the sidebars is fine on index page.
    but lost on the other pages I created in wp-admin.

    Thank you
    D

  2. #2
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,176
    Mentioned
    454 Post(s)
    Tagged
    8 Thread(s)
    That looks like the standard stuff that comes with WP, and the best option is to remove it from the templates themselves (is it sidebar.php? It's years since I used WP). The alternative is to hide them via CSS, but that's a really poor alternative.

  3. #3
    SitePoint Guru
    Join Date
    Oct 2010
    Location
    Portland, Or
    Posts
    724
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Yep and that is my prob.
    I have removed it from everywhere I thought it would cause it.
    there are no widgets selected in the wp-admin. Not sure where else to go to deleted it. and also it does this to one but not my other side bar menu.
    I am calling both with
    <?php include (TEMPLATEPATH . '/sidebar01.php'); ?>
    <?php include (TEMPLATEPATH . '/sidebar02.php'); ?>
    and for example this is the nav for sidebar02

    Code:
    <div id="sideBar02">
    <nav id="nav02">
    <?php wp_nav_menu(array('menu' => 'secNavMenu')); ?>
    </nav>
    </div>
    can't find where it gets the other items...

  4. #4
    SitePoint Addict
    Join Date
    Oct 2008
    Location
    Virtual World is my location
    Posts
    311
    Mentioned
    3 Post(s)
    Tagged
    0 Thread(s)
    Well I think it might be a case of If no widgets selected then display X. Go Into each sidebarX.php and check for the code you should be able to solve the issue. Otherwise kindly post screenshot of widget area and post code for the sidebar.php as well as the sidebarX.php
    RecipesNext.com - recipes, kitchen queries, videos & more...
    BargainNext.com - coupons / deals / bargains / offers & more...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •