Help with making a theme widget ready
-
Hi!
I need help to making my theme widget ready, which is really important for me cause i really like the theme i have choosen. I would really appreciate if someone could help me with this:)
As i have read, there is two type of codes you should put into the sidebar. But i dont know where to put them, however everytime i have put these code in the sidebar CSS it havent worked.
Here is the code i have read i should put into to the sidebar:
<?php if (!function_exists(’dynamic_sidebar’) || !dynamic_sidebar() ) : ?><?php endif; ?>And here is my sidebar code:
<div id="SIDE"> <div class="Wrapper"> <ul> <?php wp_list_pages('title_li=' ); ?> <?php wp_list_categories('show_count=1&title_li='); ?> </ul> <div class="hr"></div> <h2>Archives</h2> <ul> <?php wp_get_archives('type=monthly'); ?> </ul> <div class="hr"></div> <div> <?php get_calendar(); ?> </div> <div class="hr"></div> <h2>Other</h2> <ul> <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?> <?php wp_list_bookmarks('title_before=&title_li=&title_after='); ?> <?php } ?> <li>Meta <ul> <?php wp_register(); ?> <li><?php wp_loginout(); ?></li> <li><a href="http://www.wpthemesfree.com/" title="Wordpress Themes">Wordpress Themes</a></li> <li><a href="http://www.2mhost.com">web hosting</a></li> <?php wp_meta(); ?> </ul> </li> </ul> <div class="hr"></div> <h2>Syndication</h2> <ul class="rss"> <li><a href="<?php bloginfo('rss2_url'); ?>" >Entries RSS</a></li> <li><a href="<?php bloginfo('comments_rss2_url'); ?>">Comments RSS</a></li> </ul> </div> <div class="Footer"></div> </div>Where should i put the above codes into my sidebar?
Thanks for helping
Christopher
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
The topic ‘Help with making a theme widget ready’ is closed to new replies.