Please help me widgetize my theme (pretty please?) (1 post)

  1. mbmorton
    Posted 8 years ago #

    Hi everyone,

    I have read the automatic tutorials but I'm afraid I just don't have the knowledge to make it work. Hopefully one of you coding gurus can help.

    Can you please tell me how I need to change this code? Once that's covered we can then cover adding a function.php file if necessary.

    Thanks in advance everyone!

    Here is my current, un-widgetized, 2 sidebar code:

    			<div id="sidebar_left"> <!-- begin sidebar_left -->
    												<div id="sidebar_left_content"> <!-- begin sidebar_left_content -->
    																	<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
    <li><h2><?php _e('Sections'); ?></h2>
    																		<?php wp_list_cats('children=1&hierarchical=1&hide_empty=1'); ?>
    																<?php get_links_list(); ?>
    												</div> <!-- End sidebar_left_content -->
    						<div id="sidebar_right"> <!-- begin sidebar_right -->
    								<div id="sidebar_right_content"><!-- begin sidebar_right_content -->		
    <li><h2>Recent Posts</h2>
    												<?php get_archives('postbypost','30','html'); ?>
    												<?php wp_get_archives('type=monthly'); ?>
    												<?php wp_register(); ?>
    <li><?php wp_loginout(); ?></li>
    <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid XHTML</a></li>
    <li><a href="http://gmpg.org/xfn/">XFN</a></li>
    <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
    												<?php wp_meta(); ?>
    								</div><!-- End sidebar_right_content -->
    						</div><!-- End sidebar_right -->
    			</div>  <!-- End sidebar_left -->
    	<div class="clear"></div>
    </div><!-- End level1 -->
    </div><!-- End level0 -->

Topic Closed

This topic has been closed to new replies.

About this Topic