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('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 ( 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'); $content_class = 'entry-content'; $content_editor = blocksy_get_entry_content_editor(); if ( strpos($content_editor, 'classic') === false && strpos($content_editor, 'default') === false ) { $content_class = 'ct-builder-content'; } ob_start(); ?>
> $share_box_type === 'type-1' ? [ 'data-location' => 'top' ] : [ 'data-location' => $share_box2_location, ], '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()) ] ]); ?>
'', ] ); ?>
'entry-tags'], blocksy_get_categories_list('', false) ); } ?> ['data-location' => 'bottom'], 'type' => 'type-1' ]); ?>