screen->get_prefix(); $has_share_box = get_theme_mod( $prefix . '_has_share_box', $prefix === 'single_blog_post' ? 'yes' : 'no' ) === 'yes'; if (blocksy_is_page()) { $has_share_box = false; } $has_author_box = get_theme_mod( $prefix . '_has_author_box', 'no' ) === 'yes'; $has_post_tags = get_theme_mod( $prefix . '_has_post_tags', 'yes' ) === 'yes'; $has_post_nav = get_theme_mod( $prefix . '_has_post_nav', $prefix === 'single_blog_post' ? 'yes' : 'no' ) === 'yes'; if (blocksy_is_page()) { $has_author_box = false; $has_post_nav = false; } if ( blocksy_default_akg( 'disable_posts_navigation', $post_options, 'no' ) === 'yes' ) { $has_post_nav = false; } if ( blocksy_default_akg( 'disable_author_box', $post_options, 'no' ) === 'yes' ) { $has_author_box = false; } if ( blocksy_default_akg( 'disable_post_tags', $post_options, 'no' ) === 'yes' ) { $has_post_tags = false; } if ( get_post_type() !== 'post' && ! blocksy_maybe_get_matching_taxonomy(get_post_type(), false) ) { $has_post_tags = false; } if ( blocksy_default_akg( 'disable_share_box', $post_options, 'no' ) === 'yes' ) { $has_share_box = false; } $featured_image_location = 'none'; $page_title_source = blocksy_get_page_title_source(); $featured_image_source = blocksy_get_featured_image_source(); if ($page_title_source) { $actual_type = blocksy_akg_or_customizer( 'hero_section', blocksy_get_page_title_source(), 'type-1' ); if ($actual_type !== 'type-2') { $featured_image_location = get_theme_mod( $prefix . '_featured_image_location', 'above' ); } else { $featured_image_location = 'below'; } } else { $featured_image_location = 'above'; } $share_box_type = get_theme_mod($prefix . '_share_box_type', 'type-1'); $share_box1_location = get_theme_mod($prefix . '_share_box1_location', [ 'top' => false, 'bottom' => true, ]); $share_box2_location = get_theme_mod($prefix . '_share_box2_location', 'right'); $share_box2_colors = get_theme_mod($prefix . '_share_box2_colors', 'custom'); $content_class = 'entry-content'; ob_start(); ?>
> 'type-1' ]); } if ($featured_image_location === 'below') { echo blocksy_get_featured_image_output(); } ?> [ 'data-location' => 'top' ], 'links_wrapper_attr' => $share_box_type === 'type-2' ? [ 'data-color' => $share_box2_colors ] : [], 'type' => $share_box_type ]); ?>
"%s"', 'blocksy' ), array( 'span' => array( 'class' => array(), ), ) ), get_the_title() ) ); } } else { ?>
get_the_ID(), 'size' => 'full', 'tag_name' => 'a', 'ratio' => 'original', 'html_atts' => [ 'href' => wp_get_attachment_url(get_the_ID()) ] ]); ?>
"%s"', 'blocksy' ), get_the_title() ) ); } wp_link_pages( [ 'before' => '', ] ); do_action('blocksy:single:content:bottom'); ?> 'entry-tags'], blocksy_get_categories_list('', false) ); } ?> ['data-location' => 'bottom'], 'links_wrapper_attr' => $share_box_type === 'type-2' ? [ 'data-color' => $share_box2_colors ] : [], 'type' => $share_box_type ]); ?>