get_option( 'structure_single_hide' ); if ( ! empty( $structure_single_hide ) ) { $structure_single_hide = explode( ',', $structure_single_hide ); if ( is_array( $structure_single_hide ) ) { $structure_single_hide = array_map( 'trim', $structure_single_hide ); } } else { $structure_single_hide = array(); } $thumbnail_type = get_post_meta( $post->ID, 'thumbnail_type', true ); $thumbnail_size = 'full'; if ( wp_is_mobile() ) { $thumbnail_size = 'reboot_standard'; } $thumbnail_size = apply_filters( '', $thumbnail_size ); $thumb_url = get_the_post_thumbnail_url( $post, $thumbnail_size ); $is_show_thumb = ( ! in_array( 'thumbnail', $structure_single_hide ) && $wpshop_core->is_show_element( 'thumbnail' ) ); $is_show_breadcrumbs = $wpshop_core->is_show_element( 'breadcrumbs' ); $is_show_title_h1 = $wpshop_core->is_show_element( 'title_h1' ); $is_show_social_top = ( ! in_array( 'social_top', $structure_single_hide ) && $wpshop_core->is_show_element( 'social_top' ) ); $is_show_category = ( ! in_array( 'category', $structure_single_hide ) ); $is_show_comments = ( ! in_array( 'comments', $structure_single_hide ) && $wpshop_core->is_show_element( 'comments' ) ); $is_show_sidebar = ( in_array( $wpshop_core->get_option( 'structure_single_sidebar' ), [ 'left', 'right' ] ) && $wpshop_core->is_show_element( 'sidebar' ) ); $is_show_related_posts = $wpshop_core->is_show_element( 'related_posts' ); get_header(); ?>
>

get_category( [ 'micro' => false ] ) ?>
get_option( 'related_posts_before_comments' ) ) get_template_part( 'template-parts/related', 'posts' ); // If comments are open or we have at least one comment, load up the comment template. if ( $is_show_comments ) { if ( comments_open() || get_comments_number() ) : comments_template(); endif; } ?>
get_option( 'related_posts_before_comments' ) ) get_template_part( 'template-parts/related', 'posts' ) ?>