![]() 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/entry/thumbnail-style/ |
<?php /** * Thumbnail style layout * * @package Apper WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Get post format $format = get_post_format(); // Add classes to the blog entry post class $classes = acmthemes_post_entry_classes(); // Inner classes $inner_classes = array(); // Image position $position = 'left'; $inner_classes[] = 'left-position'; // Turn inner classes into space seperated string $inner_classes = implode( ' ', $inner_classes ); ?> <article id="post-<?php the_ID(); ?>" <?php post_class( $classes ); ?>> <div class="blog-entry-inner clr <?php echo esc_attr( $inner_classes ); ?>"> <?php // If image left if ( 'left' == $position ) { // Featured Image get_template_part( 'partials/entry/media/blog-entry', $format ); } ?> <div class="blog-entry-content"> <?php // Category get_template_part( 'partials/entry/thumbnail-style/category' ); // Title get_template_part( 'partials/entry/header' ); // Content get_template_part( 'partials/entry/content' ); ?> <div class="blog-entry-bottom clr"> <?php // Comments get_template_part( 'partials/entry/thumbnail-style/comments' ); // Date get_template_part( 'partials/entry/thumbnail-style/date' ); ?> </div><!-- .blog-entry-bottom --> </div><!-- .blog-entry-content --> <?php // If image right if ( 'right' == $position ) { // Featured Image get_template_part( 'partials/entry/media/blog-entry', $format ); } ?> </div><!-- .blog-entry-inner --> </article><!-- #post-## -->