I registered the widget area in my functions.php and they appear in my admin area but when I drag it over to the right hand panel to make changes none of them seem to do anything.
Anyone know what I can do to find a solution to this problem?
The widget in question is WP YouTube Lyte
Edit:
add_action( 'widgets_init', array(&$this,'arphabet_widgets_init'));
function arphabet_widgets_init() {
register_sidebar( array(
'name' => 'Home right sidebar',
'id' => 'home_right_1',
'before_widget' => '<div>',
'after_widget' => '</div>',
'before_title' => '<h2 class="rounded">',
'after_title' => '</h2>',
) );
}
It sounds like you’re trying to add a new widget area (dynamic sidebar) to your Theme.
That process has three parts:
Register the dynamic sidebar in
functions.php
, usingregister_sidebar()
:This registers the dynamic sidebar with WordPress, which displays its UI in
Appearance -> Widgets
in the Admin. The important part here is theid
parameter, which you’ll use in the next step:Output the widget area (dynamic sidebar) in your Theme template, wherever appropriate, using
dynamic_sidebar( $id )
:This actually displays the dynamic sidebar in the template.
Appearance -> Widgets
in the Admin.It sounds like you’ve done #1 and #3, but not #2.