Hi Dev,
Today, i we will show you how to get custom widgets in wordpress. This article will give you simple example of how to get custom widgets in wordpress. you will learn how to get custom widgets in wordpress. So let’s follow few step to create example of how to get custom widgets in wordpress.
Copy the code and add it to your functions.php file :
register_sidebar( array( 'name' => __( 'First Footer Widget', 'tutsplus' ), 'id' => 'first-footer-widget-area', 'description' => __( 'The first footer widget', 'tutsplus' ), 'before_widget' => '<div id="%1$s" class="widget-container %2$s">', 'after_widget' => '</div>', 'before_title' => '<h3 class="widget-title">', 'after_title' => '</h3>', ) );