Support » Themes and Templates » [Resolved] Need help in defining my sidebar
7 years, 9 months ago
I’m in the process of designing my own theme and I can’t get my sidebar widget aware.
I get the:
no sidebars defined
The theme you are currently using isn’t widget-aware, meaning that it has no sidebars that you are able to change. For information on making your theme widget-aware, please follow these instructions.
I did follow the instructions from the link that was provided. But I’ve been having no such luck. Any assistance would greatly be appreciated.
<?php if ( !function_exists(‘dynamic_sidebar’)
|| !dynamic_sidebar() ) : ?>
<div class=”title”>Recent Posts</div>
<?php endif; ?>
if ( function_exists(‘register_sidebar’) )
‘before_widget’ => ‘<div id=”%1$s” class=”widget %2$s”>’,
‘after_widget’ => ‘</div>’,
‘before_title’ => ‘<div class=”title”>’,
‘after_title’ => ‘</div>’,
Link to my site.
Thanks in advance
could some please help…
I’m a bit of a noob at php so any assistance would just be wonderful 🙂
Thanks in advanced
Well I figured it out… :/
Turns out I spelled the functions.php file wrong and that’s why it wasn’t working.