Support » Fixing WordPress » Adding widget causes other leftbar elements to disappear

  • indialogue



    every time I add a widget from the widget section of dashboard, my other leftbar elements such as page lists disappear. These are dictated by leftbar.php. Why is this? I can’t use other widgets to integrate these lists, since I want more control over what is displayed and how. Could someone take a look at and get back to me please?

    Am a newbie to wordpress and trying to teach myself.


    Sorry if this was already posted, I could not find the search function for the forum.

Viewing 1 replies (of 1 total)
  • indialogue


    HERE IS THE CODE IN CASE THIS HELPS: adding a widget makes the lists below disappear. Is there any way to integrate these two?

    <!– Start leftbar –>

    <div class=”leftbar”>

      <?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>

    • <h2>Journal</h2>

        <?php wp_list_pages(‘include=30,31,32&title_li’); ?>

    • <h2>About</h2>

        wp_list_pages(‘include=9,10,21,22,24&title_li’); ?>

      <?php endif; ?>


    <!– End leftbar –>

Viewing 1 replies (of 1 total)
  • The topic ‘Adding widget causes other leftbar elements to disappear’ is closed to new replies.