'
) );
register_sidebar(array(
'name' => __('Front Page - Hero Box', 'tuned'),
'description' => __( 'Full width box for Hero on Front Page Template. Drag and drop to here the Hero for Hero Box Widget.', 'tuned' ),
'id' => 'frontend-hero',
'before_widget' => '
',
'after_widget' => '
',
));
register_sidebar(array(
'name' => __('Full width Template - Hero Box', 'tuned'),
'description' => __( 'Full width box for Hero on Full width Template. Drag and drop to here the Hero for Hero Box Widget.', 'tuned' ),
'id' => 'full-width-template-hero',
'before_widget' => '',
'after_widget' => '',
));
register_sidebar(array(
'name' => __('Front Page - Carousel Box', 'tuned'),
'description' => __( 'Full width box for Carousel on Front Page Template. Drag and drop to here the Category for Carousel Box Widget. If you want to display featured image of the post ONLY in the Carousel, add the following string to your image(rename): _icon(eg. yourthumb_icon.png)', 'tuned' ),
'id' => 'frontend-carousel',
'before_widget' => '',
'after_widget' => '',
));
register_sidebar(array(
'name' => __('Full width Template - Carousel Box', 'tuned'),
'description' => __( 'Full width box for Carousel on Full width Template. Drag and drop to here the Category for Carousel Box Widget. If you want to display featured image of the post ONLY in the Carousel, add the following string to your image(rename): _icon(eg. yourthumb_icon.png)', 'tuned' ),
'id' => 'full-width-template-carousel',
'before_widget' => '',
'after_widget' => '',
));
register_sidebar(array(
'name' => __('Front Page - 1 Column Grid Box', 'tuned'),
'description' => __( 'Appears on the Front Page. If you want to display featured image of the post ONLY in the grid, add the following string to your image(rename): _icon(eg. yourthumb_icon.png)', 'tuned' ),
'id' => 'frontend-grid-1',
'before_widget' => '',
'after_widget' => '',
));
register_sidebar(array(
'name' => __('Front Page - 3 Column Grid Box', 'tuned'),
'description' => __( 'Appears on the Front Page. If you want to display featured image of the post ONLY in the grid, add the following string to your image(rename): _icon(eg. yourthumb_icon.png)', 'tuned' ),
'id' => 'frontend-grid-3',
'before_widget' => '',
'after_widget' => '',
));
register_widget('Tuned_Hero_Widget');
register_widget('Tuned_Category_Widget');
register_widget('Tuned_Carousel_Widget');
}
add_action( 'widgets_init', 'tuned_widgets_init' );
require_once( 'inc/widgets.php' );
/* Content navigation
----------------------------------------------------------*/
if( !function_exists( 'tuned_content_nav' ) ) {
function tuned_content_nav( $nav_id ) {
global $wp_query;
$nav_id = esc_attr( $nav_id );
if( $wp_query->max_num_pages > 1 ) : ?>