Widget menu is not appearing in WordPress
php, widget, wordpress
Solution
Yes this is because you not init the widget area, so first make the functions.php file and write the code
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>',
) );
}
add_action( 'widgets_init', 'arphabet_widgets_init' );
By this code your widget area is activated.
Problem
I am using a customized theme and do not have functions.php. when I use the following link `http://localhost/wanderingthepath/wp-admin/widgets.php` It displays the following error: 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, ...