• zeeb

    (@zeeb)


    My site is http://creativeclown.com

    My theme has a functions.php file that says to load dynamic sidebar. But the sidebar.php file does not mention the dynamic sidebar. I tried to add the code for that, but the widgets still didn’t show up. I could find the open

      so I’m not sure I put the code in the right place. I removed it, but hope someone might have time to look at the code and see if you can figure out what I need to do? The theme is supposedly widget ready.

Viewing 2 replies - 1 through 2 (of 2 total)
  • TrishaM

    (@trisham)

    look in your theme’s sidebar.php file – these are the lines that register the sidebar as “dynamic”:

    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    Thread Starter zeeb

    (@zeeb)

    Thanks, Trisha. I had that code, but can’t figure out where to put it in the sidebar.php file.

    I’ll paste the code in my sidebar.php file here:

    <div id=”menu”>
    <ul class=”main”>
    <!– Author information is disabled per default. Uncomment and fill in your details if you want to use it.

    • <h2>Author</h2>
      <p>A little something about you, the author. Nothing lengthy, just an overview.</p>
    • –>

    • <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>

    <?php wp_list_pages(‘title_li=<h2>Pages</h2>’ ); ?>

    • <h2>Archives</h2>
      <?php wp_get_archives(‘type=monthly’); ?>
    • <h2>Categories</h2>
      <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php get_links_list(); ?>

    • <h2>Meta</h2>

    <?php } ?>

    </div>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Widgets not loading in Pink Twilight Theme’ is closed to new replies.