no sidebar defined problem on widget
-
hi
i have been practicing making my first wordpress theme.i came here with the problem no sidebar on the widget section, i have used following code in sidebar.php and function.phpsidebar.php
<div id=”navbarside” >
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?><ul class=”mainNav” >
- <div class=”sidenavtop”>
<h2 >Recent Post </h2>
</div>
<div id=”newsticker-demo”>
<div class=”newsticker-jcarousellite”><ul class=”backgroundimg”>
<?php wp_get_archives(‘title_li=&type=postbypost&limit’); ?></div>
</div>
<div class=”sidebardown”>
</div><!–sidebardown –>- <div class=”sidenavtop”>
<h2 id=”archivecollapse”> Archive </h2>
<h4 id=”colapse”> collapse</h4>
<h4 id=”expand”> expand</h4>
</div><div class=”sidebarmiddle” id=”collap”>
-
<?php wp_get_archives(‘type=monthly’); ?>
</div>
<div class=”sidebardown”>
</div><!–sidebardown –><!–Resource –>
- <div class=”sidenavtop” >
<h2 id=”resourcecollapse”>Resources</h2>
<h4 id=”colapse1″>collapse</h4>
<h4 id=”expand1″> expand</h4>
</div><!–sidenavtop –><div class=”sidebarmiddleresource” id=”collap1″>
-
<?php wp_list_bookmarks(‘categorize=&title_li=<h2></h2>’); ?>
</div>
<div class=”sidebardown”>
</div><!–sidebardown –><?php if ( is_home() || is_page() ) { ?>
- <h2>Meta</h2>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- Valid <abbr title=”eXtensible HyperText Markup Language”>XHTML</abbr>
- <abbr title=”XHTML Friends Network”>XFN</abbr>
- WordPress
<?php wp_meta(); ?>
<?php } ?>
<?php endif; ?>
</div>
<div style=”clear: both;”></div>function.php
<?php
if ( function_exists(‘register_sidebar’) )
register_sidebar());
?>help plz
thank u - <div class=”sidenavtop”>
-
You did not specify a blog address or reason for posting when you created this topic.
This support forum is for blogs hosted at WordPress.com. If your question is about a self-hosted WordPress blog then you’ll find help at the WordPress.org forums.
If you don’t understand the difference between WordPress.com and WordPress.org, you may find this information helpful.
If you forgot to include a link to your blog, you can reply and include it below. It’ll help people to answer your question.
This is an automated message.
-
I’m afraid that as the Support Bot says you’ll need to go to http://wordpress.org/support/ for help with a blog that isn’t hosted here at WordPress.com.
Sorry about that!
- The topic ‘no sidebar defined problem on widget’ is closed to new replies.