Creating custom widget

The best option is to first create a child theme for your main theme. And than call the functions.php file in it and First Step is to register your sidebar register_sidebar( array( ‘name’ => __( ‘Main Sidebar’, ‘themeName’ ), ‘id’ => ‘sidebar-1’, ‘description’ => __( ‘some useful info’, ‘themeName’ ), ‘before_widget’ => ‘<aside id=”%1$s” class=”widget […]

Read more