<?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 nostalgic_blog_register_widgets() {

	register_widget( 'Nostalgic_Blog_Author_Info_Widget' );

	register_widget( 'Nostalgic_Blog_Featured_Posts_Widget' );

	register_widget( 'Nostalgic_Blog_Social_Widget' );

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