• Hi

    I had a problem with my theme where I tweaked it a little too much and it went funny. I’ve fixed it but something strange is happening now.

    When I view my blog with my favourite theme, the default widgets show even though I’ve dragged my custom widgets to the sidebar and they should be being overwritten.

    Then when I view one of the pre-installed default wordpress themes, they DON’T show the default sidebar.

    Have I somehow managed to flip a switch somewhere so it’s on when it should be off and vice versa???

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter id2d

    (@id2d)

    …attually, it seems that when I add widgets, they are added, but the default stuff is still below them!

    What is in your sidebar? Can you post it? Usually the widget code looks like this:

    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar('Sidebar Right') ) : ?> 
    
    Default stuff to show if there's no widgets enabled
    
    <?php endif; ?>

    With the default stuff to show inside the widget code. If the default stuff is still showing check to see if the code that’s calling it is outside the widget code, afte the endif;

    Thread Starter id2d

    (@id2d)

    I’ve fixed it now. It’s a bug in the latest version of Atahualpa – found the fix already posted:

    https://forum.bytesforall.com/showthread.php?t=3602

    I thought it was appearing in other themes and so posted here but on further experimenting found I was wrong and went to the theme forum

    My apologies

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Default Widgets in the wrong place’ is closed to new replies.