• Resolved nipponese

    (@nipponese)


    After adding
    `<?php if ( !function_exists(‘dynamic_sidebar’)
    || !dynamic_sidebar() ) : ?>`

    The other content in my sidebar.php doesn’t show up. What am I doing wrong?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Chrisber

    (@chrisber)

    Have you added any widgets to the sidebar after you modified the code?

    Thread Starter nipponese

    (@nipponese)

    Yes, that’s when my code stopped showing up.

    Chrisber

    (@chrisber)

    Anything that is coded into the sidebar is usually overridden when a widget is installed. You have a couple of options. The simpler solution is to add your code back into a text widget and place it in the sidebar. You can also divide your sidebar into separate static and dynamic sections and place the code you want in the static section.

    Thread Starter nipponese

    (@nipponese)

    Interesting, thanks for your help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Adding a dynamic sidebar blows away my template’ is closed to new replies.