WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Sidebar Modify (7 posts)

  1. chadchadchad
    Member
    Posted 2 years ago #

    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!

  2. ndoremieux
    Member
    Posted 2 years ago #

    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

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    Where did you download this theme from?

  4. chadchadchad
    Member
    Posted 2 years ago #

    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)

  5. chadchadchad
    Member
    Posted 2 years ago #

    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!

  6. chadchadchad
    Member
    Posted 2 years ago #

    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>
  7. chadchadchad
    Member
    Posted 2 years ago #

    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>

Topic Closed

This topic has been closed to new replies.

About this Topic