Support » Fixing WordPress » Sidebar code is incorrect?

  • Resolved Feathersoup

    (@feathersoup)



    Please help me I am new to this and well maybe someone see soemthing that I do not.

    here is my sidebar code:

    <?php
    /**
    * The Right Sidebar
    *
    * @package WordPress
    * @subpackage Minimatica
    * @since Minimatica 1.0
    */
    ?>

    <div id=”sidebar” class=”widget-area” role=”complementary”>
    <?php if( is_active_sidebar( 1 ) ) : ?>
    <?php dynamic_sidebar( 1 ); ?>
    <?php else : ?>
    <?php the_widget( ‘WP_Widget_Search’ ); ?>
    <?php the_widget( ‘Minimatica_Ephemera_Widget’, array( ‘title’ => ‘Asides’ ) ); ?>
    <?php the_widget( ‘WP_Widget_Pages’ , array( ) ); ?>
    <?php endif; ?>
    </div><!– #sidebar –>

    What am i missing?? Thank you…

Viewing 7 replies - 1 through 7 (of 7 total)
  • when you add your widget to the sidebar those the only one displayed if there none added then the default will show.

    oh it’s actually My sidebar is now acting like a footer. It will no longer go along side the main content and now goes below any text i write in. http://heyokaplay.com/new-thingy/

    I must have done something because last night this was working fine. But ow now.

    Seen from your site, you should edit your css file.
    add this to your style.css:

    .hentry .entry-content {
        float:left;
        width:710px;
    }

    Worked like a charm. Thank you Very Much.

    Actually now there is a constant sidebar on all my pages like videos (Which I would like to have just scan across the page) How would this be fixed? Cheers,

    What I mean is there is a pages widget displaying all my pages on almost all my pages (Except for the ones that have an existing widget). I don’t see the option in the widget area to remove it. Not sure where to go from here.

    Got it I went into sidebar and deleted

    <?php the_widget( ‘WP_Widget_Pages’ ); ?>

    (probably seems easy but hopefully helps someone save time 🙂

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Sidebar code is incorrect?’ is closed to new replies.