Viewing 3 posts - 1 through 3 (of 3 total)
-
dinner123Participant
I’m a nub and it seems really complicated to do, so I would appreciate any tips.
Daniel TaraKeymasterThe widget areas are declared in functions.php with the function [code]register_sidebar[/code] like this:
register_sidebar( array( 'name' => 'Sidebar Name', 'before_widget' => '<div id="%1$s" class="topitem widget %2$s">', 'after_widget' => '</div><!-- /topitem -->', 'before_title' => '<h3>', 'after_title' => '</h3>' ) );
Then you can call then where you want them to appear, with the function dynamic_sidebar and the sidebar’s index as an argument:
dynamic_sidebar(7)
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic.