WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Sidebar Modify

[Resolved] Sidebar Modify

  • Hello,
    My site is just about complete, for some reason I can’t seem to find where to edit the top items of the side bar. If anybody can point me in the right direction that would be outstanding!

    Thanks Everybody!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The side bar content is usually handled in the appearances/widgets, sounds like you have “recent blog posts” twice and categories right now, just drag and drop the box you don’t want to appear in the sidebar.

    Nathalie

    esmi

    @esmi

    Forum Moderator

    Where did you download this theme from?

    Thanks, I will try that.

    The theme I modified to make appear seamless with the rest of the new site….which is waiting on a few changes. (I started with blankslate)

    I must have messed something up, because when it displays any sidebar item it shows the top links….forgive me if my PHP skills are nil. I suspect it would be this code in sidebar.php

    <aside id="sidebar">
    
    <?php if ( is_active_sidebar('primary-widget-area') ) : ?>
    
    <div id="primary" class="widget-area" style="position:absolute;" align="left">
    <?php wp_get_archives('type=postbypost&limit=15'); ?>
    
    <ul class="sid" style="position:absolute;" align="left">
    
    <?php dynamic_sidebar('primary-widget-area'); ?>
    <div class="navigation" style="position:absolute;" align="left">
    
    <div class="alignright" style="position:absolute;" align="left">
         <?php next_posts_link('« Previous Entries') ?>
    </div>
    <div class="alignright" style="position:absolute;" align="left">
         <?php previous_posts_link('Next Entries »') ?>
    </div>
    </div>
    <ul id="elsewhere" style="position:absolute;" align="left">
    <?php get_links(5, '<li>', '</li>', ' ', FALSE, '_id', FALSE, FALSE, 3, FALSE, TRUE); ?>
    </ul>

    My only reason for assuming that is it is due to the
    <-li-> tags, thanks!

    I reverted to my back up and it seems to work, thanks everybody!

    <aside id="sidebar">
    
    <?php if ( is_active_sidebar('primary-widget-area') ) : ?>
    
    <div id="primary" class="widget-area">
    
    <ul class="sid">
    
    <?php dynamic_sidebar('primary-widget-area'); ?>
    
    </ul>
    
    </div>
    
    <?php endif; ?>
    
    </aside>

    I reverted to my back up and it seems to work, thanks everybody!

    <aside id="sidebar">
    
    <?php if ( is_active_sidebar('primary-widget-area') ) : ?>
    
    <div id="primary" class="widget-area">
    
    <ul class="sid">
    
    <?php dynamic_sidebar('primary-widget-area'); ?>
    
    </ul>
    
    </div>
    
    <?php endif; ?>
    
    </aside>

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Sidebar Modify’ is closed to new replies.