![]() 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/walla3t.corals.io/wp-content/themes/apper/partials/single/ |
<?php /** * Single post layout * * @package Apper WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } ?> <article id="post-<?php the_ID(); ?>"> <?php // Get posts format $format = get_post_format(); // Get elements $elements = acmthemes_blog_single_elements_positioning(); // Loop through elements foreach ( $elements as $element ) { // Featured Image if ( 'featured_image' == $element && ! post_password_required() ) { $format = $format ? $format : 'thumbnail'; get_template_part( 'partials/single/media/blog-single', $format ); } // Title if ( 'title' == $element ) { get_template_part( 'partials/single/header' ); } // Meta if ( 'meta' == $element ) { get_template_part( 'partials/single/meta' ); } // Content if ( 'content' == $element ) { get_template_part( 'partials/single/content' ); } // Tags if ( 'tags' == $element ) { get_template_part( 'partials/single/tags' ); } // Social Share if ( 'social_share' == $element && ACMTHEMES_EXTRA_ACTIVE ) { do_action( 'social_share' ); } // Next/Prev if ( 'next_prev' == $element ) { get_template_part( 'partials/single/next-prev' ); } // Author Box if ( 'author_box' == $element ) { get_template_part( 'partials/single/author-bio' ); } // Related Posts if ( 'related_posts' == $element ) { get_template_part( 'partials/single/related-posts' ); } // Comments if ( 'single_comments' == $element ) { comments_template(); } } ?> </article>