Adding widget causes other leftbar elements to disappear (2 posts)

  1. indialogue
    Posted 8 years ago #


    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 indialogue.info 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.

  2. indialogue
    Posted 8 years ago #

    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 -->

Topic Closed

This topic has been closed to new replies.

About this Topic