Support » Fixing WordPress » Widgetizing my theme! PLZ HELP

  • I already read the guide, however this is very confusing to me. I do not understand html that well, but i em taking classes right now so hopefulyl soon I will. This is my sidebar make up. Can sombeoy plz help!

    <div id="navigation">
          <!-- Start of Navigation -->
          <div class="nav_title"><img src="<?php bloginfo('url'); ?>/wp-content/themes/drunkloser/images/last-posts.jpg" alt="Last Posts" /></div>
            $posts = get_posts('numberposts=5');
            foreach($posts as $post) :
    <li><a>"><?php the_title(); ?></a></li>
           <?php endforeach; ?>
        <div class="nav_title"><img src="<?php bloginfo('url'); ?>/wp-content/themes/drunkloser/images/archives.jpg" alt="Archive" /></div>
           <?php wp_get_archives('type=monthly&show_post_count=0'); ?>
        <div class="nav_title"><img src="<?php bloginfo('url'); ?>/wp-content/themes/drunkloser/images/links.jpg" alt="Links" /></div>
          <?php wp_get_links(1); ?>
    <table valign=top align=middle><tr><td><a>
    "><IMG SRC="" BORDER=0 ALT=""></a></td></tr></table>
    <!-- End of Navigation -->

Viewing 1 replies (of 1 total)
  • I do not see the dynamic code in your side bar. Drop the code below into your sidebar.php file where you want the widget to show up. paste this

    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Page Sidebar') ) : ?>
        <?php endif; ?>

    after one of these.


Viewing 1 replies (of 1 total)
  • The topic ‘Widgetizing my theme! PLZ HELP’ is closed to new replies.