'primary', 'container' => '', 'fallback_cb' => 'business_club_primary_navigation_fallback', ) ); ?>
'footer', 'container' => 'div', 'container_id' => 'footer-navigation', 'depth' => 1, 'fallback_cb' => false, 'echo' => false, ) ); // Copyright content. $copyright_text = business_club_get_option( 'copyright_text' ); ?>
|
ID, 'theme_settings', true ); if ( isset( $post_options['post_layout'] ) && ! empty( $post_options['post_layout'] ) ) { $global_layout = $post_options['post_layout']; } } // Include primary sidebar. if ( 'no-sidebar' !== $global_layout ) { get_sidebar(); } // Include Secondary sidebar. switch ( $global_layout ) { case 'three-columns': get_sidebar( 'secondary' ); break; default: break; } } endif; add_action( 'business_club_action_sidebar', 'business_club_add_sidebar' ); if ( ! function_exists( 'business_club_custom_posts_navigation' ) ) : /** * Posts navigation. * * @since 1.0.0 */ function business_club_custom_posts_navigation() { the_posts_pagination(); } endif; add_action( 'business_club_action_posts_navigation', 'business_club_custom_posts_navigation' ); if ( ! function_exists( 'business_club_add_image_in_single_display' ) ) : /** * Add image in single post. * * @since 1.0.0 */ function business_club_add_image_in_single_display() { global $post; if ( has_post_thumbnail() ) { $values = get_post_meta( $post->ID, 'theme_settings', true ); $theme_settings_single_image = isset( $values['single_image'] ) ? esc_attr( $values['single_image'] ) : ''; if ( ! $theme_settings_single_image ) { $theme_settings_single_image = business_club_get_option( 'single_image' ); } if ( 'disable' !== $theme_settings_single_image ) { $args = array( 'class' => 'aligncenter', ); the_post_thumbnail( esc_attr( $theme_settings_single_image ), $args ); } } } endif; add_action( 'business_club_single_image', 'business_club_add_image_in_single_display' ); if ( ! function_exists( 'business_club_add_breadcrumb' ) ) : /** * Add breadcrumb. * * @since 1.0.0 */ function business_club_add_breadcrumb() { // Bail if Home Page. if ( is_front_page() || is_home() ) { return; } echo ''; return; } endif; add_action( 'business_club_action_before_content', 'business_club_add_breadcrumb', 7 ); if ( ! function_exists( 'business_club_footer_goto_top' ) ) : /** * Go to top. * * @since 1.0.0 */ function business_club_footer_goto_top() { echo ''; } endif; add_action( 'business_club_action_after', 'business_club_footer_goto_top', 20 ); if ( ! function_exists( 'business_club_add_front_page_widget_area' ) ) : /** * Add Front Page Widget area. * * @since 1.0.0 */ function business_club_add_front_page_widget_area() { $current_id = business_club_get_index_page_id(); if ( is_front_page() && get_queried_object_id() === $current_id && $current_id > 0 ) { echo ''; } } endif; add_action( 'business_club_action_before_content', 'business_club_add_front_page_widget_area', 7 );