![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/gg.corals.io/wp-content/themes/bugster/ |
<?php /** * The default template to display the content of the single post, page or attachment * * Used for index/archive/search. * * @package WordPress * @subpackage BUGSTER * @since BUGSTER 1.0 */ $bugster_seo = bugster_is_on( bugster_get_theme_option( 'seo_snippets' ) ); ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post_item_single post_type_' . esc_attr( get_post_type() ) . ' post_format_' . esc_attr( str_replace( 'post-format-', '', get_post_format() ) ) . ( bugster_is_on( bugster_get_theme_option( 'show_share_links' ) ) ? ' post_format_with_share' : '' ) ); if ( $bugster_seo ) { ?> itemscope="itemscope" itemprop="articleBody" itemtype="//schema.org/<?php echo esc_attr( bugster_get_markup_schema() ); ?>" itemid="<?php the_permalink(); ?>" content="<?php the_title_attribute(); ?>" <?php } ?> > <?php // Share if ( bugster_is_on( bugster_get_theme_option( 'show_share_links' ) ) ) { bugster_show_share_links( array( 'type' => 'block', 'caption' => esc_html__('Share', 'bugster'), 'before' => '<span class="post_meta_item post_share">', 'after' => '</span>', ) ); } ?> <?php do_action( 'bugster_action_before_post_data' ); // Structured data snippets if ( $bugster_seo ) { get_template_part( apply_filters( 'bugster_filter_get_template_part', 'templates/seo' ) ); } if ( is_singular( 'post' ) || is_singular( 'attachment' ) ) { $bugster_post_thumbnail_type = bugster_get_theme_option( 'post_thumbnail_type' ); $bugster_post_header_position = bugster_get_theme_option( 'post_header_position' ); $bugster_post_header_align = bugster_get_theme_option( 'post_header_align' ); if ( 'default' === $bugster_post_thumbnail_type && 'default' !== $bugster_post_header_position ) { ?> <div class="header_content_wrap header_align_<?php echo esc_attr( $bugster_post_header_align ); ?>"> <?php // Post title and meta if ( 'above' === $bugster_post_header_position ) { bugster_show_post_title_and_meta(); } // Featured image bugster_show_post_featured_image(); // Post title and meta if ( 'above' !== $bugster_post_header_position ) { bugster_show_post_title_and_meta(); } ?> </div> <?php } elseif ( 'default' !== $bugster_post_thumbnail_type && 'default' === $bugster_post_header_position ) { // Post title and meta bugster_show_post_title_and_meta(); } } do_action( 'bugster_action_before_post_content' ); // Post content ?> <div class="post_content post_content_single entry-content" itemprop="mainEntityOfPage"> <?php the_content(); do_action( 'bugster_action_before_post_pagination' ); wp_link_pages( array( 'before' => '<div class="page_links"><span class="page_links_title">' . esc_html__( 'Pages:', 'bugster' ) . '</span>', 'after' => '</div>', 'link_before' => '<span>', 'link_after' => '</span>', 'pagelink' => '<span class="screen-reader-text">' . esc_html__( 'Page', 'bugster' ) . ' </span>%', 'separator' => '<span class="screen-reader-text">, </span>', ) ); // Taxonomies and share if ( is_single() && ! is_attachment() ) { do_action( 'bugster_action_before_post_meta' ); ?> <div class="post_meta post_meta_single"> <?php // Post taxonomies the_tags( '<span class="post_meta_item post_tags"><span class="post_meta_label">' . esc_html__( 'Tags:', 'bugster' ) . '</span> ', ' ', '</span>' ); ?> </div> <?php do_action( 'bugster_action_after_post_meta' ); } ?> </div><!-- .entry-content --> <?php do_action( 'bugster_action_after_post_content' ); do_action( 'bugster_action_after_post_data' ); ?> </article>