<?php

// Author Info Widget.
require get_template_directory() . '/inc/widgets/info-author-widget.php';

// Featured Posts Widget.
require get_template_directory() . '/inc/widgets/featured-posts-widget.php';

// Social Widget.
require get_template_directory() . '/inc/widgets/social-widget.php';

/**
 * Register Widgets
 */
function nice_blog_register_widgets() {

	register_widget( 'Nice_Blog_Author_Info_Widget' );

	register_widget( 'Nice_Blog_Featured_Posts_Widget' );

	register_widget( 'Nice_Blog_Social_Widget' );

}
add_action( 'widgets_init', 'nice_blog_register_widgets' );
