Hi pals!
I have a little problem.
Yesterday i tried to widgetize my own template. I failed, but i know why, i just didnt see
<php endif; ?>
line. Sidebar just didnt showed up and i got php error on page. But i was able to customize widget options in Admin Panel.
What my fault was, i deleted functions.php and lines from sidebar.php.
Today i tried again, and i sawed this fckin line, but ...
WordPress is telling me that i havend wigetized my theme.
You are seeing this message because 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.
fck.
My functions.php look now like this:
<?php
if ( function_exists('register_sidebar') )
register_sidebar();
?>
I tried to add 1 into register_sidebar(); and to
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar() ) : ?>
!dynamic_sidebar(). And nothing.
Here, you have bigger part of mine sidebar.php
<ul>
<?php if ( !function_exists('dynamic_sidebar')
|| !dynamic_sidebar(1) ) : ?>
</ul>
<h3>Archiwum</h3>
<ul>
<?php wp_get_archives('type=monthly'); ?>
</ul>
Any ideas