'; } } add_action( 'wp_head', 'azeen_pingback_header' ); /*----------- Add body class -----------*/ add_filter( 'body_class', 'azeen_body_class' ); function azeen_body_class( $classes ) { $classes[] = 'full grid-container'; return $classes; } /*----------- sidebar layout Blog Page-----------*/ if (! function_exists('azeen_sidebar_layout')) : function azeen_sidebar_layout() { $sidbar_position = get_theme_mod('sidbar_position_gen', 'right'); if (!is_active_sidebar('right-sidebar') || 'full' == $sidbar_position) { $siderbar='large-20'; } elseif (is_active_sidebar('right-sidebar') || ('right' == $sidbar_position)) { $siderbar='large-17'; } elseif (is_active_sidebar('right-sidebar') || ('left' == $sidbar_position)) { $siderbar='large-17 '; } $siderbars = $siderbar; return $siderbars; } endif; /*----------- sidebar layout Blog font Page-----------*/ if (! function_exists('azeen_sidebar_layout_fontblog')) : function azeen_sidebar_layout_fontblog() { $sidbar_position = get_theme_mod('sidbar_position_fontpost', 'right'); if (!is_active_sidebar('right-sidebar') || 'full' == $sidbar_position) { $siderbar='large-20'; } elseif (is_active_sidebar('right-sidebar') || ('right' == $sidbar_position)) { $siderbar='large-17'; } elseif (is_active_sidebar('right-sidebar') || ('left' == $sidbar_position)) { $siderbar='large-17 '; } $siderbars = $siderbar; return $siderbars; } endif; /*----------- Branding -----------*/ /** * Before hook for menu */ function azeen_sitebranding_loop() {?>

'; echo ''; echo ''; } add_action( 'azeen_after_copyright_content_loop', 'azeen_after_copyright_loop' ); // class for home without sidebard and fullwidth function azeen_withoutsidebar_home() { if ( !is_active_sidebar( 'home-sidebar-azeen' ) ): echo esc_attr('no-home-sidebar'); endif; } add_action( 'azeen_withoutsidebar_home_loop', 'azeen_withoutsidebar_home' );