<?php 
// Post Widget.
require NEWSHIT_INC_DIR  . 'widgets/blog-post-widget.php';
require NEWSHIT_INC_DIR  . 'widgets/about-info.php';
require NEWSHIT_INC_DIR  . 'widgets/social-media-widget.php';
require NEWSHIT_INC_DIR  . 'widgets/company-info-widget.php';

// Register Custom Blog Post Widget
function newshit_custom_register_widget() {
    register_widget('newshit_recent_post_widget');
    register_widget('newshit_About_Info_Widget');
    register_widget('newshit_company_Info_Widget');
    register_widget('newshit_Social_Media_Widget');
}
add_action('widgets_init', 'newshit_custom_register_widget');