I am right now working on a Theme and I want to have one Page that only displays the content of a Sidebar.
Is there anything more needed than a normal HTML-File with this:
<!--widget start for Sidebar1-->>
<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar('Sidebar1') ) : else : ?>
<p>please go to your Admin Panel and put some widgets into Sidebar1</p>
<?php } ?>
<?php endif; ?>
I tried this and it doesn’t, maybe someone of you could help me out of this?
Thanks in advance
The topic ‘What’s needed for a Sidebar to work?’ is closed to new replies.