Current Path : /var/www/spmeat/wp-content/themes/jannah/templates/loops/ |
Current File : /var/www/spmeat/wp-content/themes/jannah/templates/loops/loop-masonry.php |
<?php /** * Achive Layout - Masonry * * This template can be overridden by copying it to your-child-theme/templates/loops/loop-masonry.php. * * HOWEVER, on occasion TieLabs will need to update template files and you * will need to copy the new files to your child theme to maintain compatibility. * * @author TieLabs * @version 5.0.0 */ defined( 'ABSPATH' ) || exit; // Exit if accessed directly ?> <div <?php tie_post_class( 'container-wrapper post-element' ); ?>> <div class="entry-archives-header"> <div class="entry-header-inner"> <?php # Get the Post Category if( $block['category_meta'] ){ tie_the_category(); } ?> <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title() ?></a></h2> <?php # Get the Post Meta info if( $block['post_meta'] ){ tie_the_post_meta( array( 'author' => false )); } ?> </div><!-- .entry-header-inner /--> </div><!-- .entry-header /--> <div class="clearfix"></div> <div class="featured-area"> <?php # Get the post thumbnail if ( has_post_thumbnail() ){ tie_post_thumbnail( $block['uncropped_image'], 'large' ); } ?> </div> <?php if( ! empty( $block['excerpt'] ) || ! empty( $block['read_more'] ) ): ?> <div class="entry-content"> <?php endif; ?> <?php if( ! empty( $block['excerpt'] ) ) { ?> <p class="post-excerpt"><?php tie_the_excerpt( $block['excerpt_length'] ) ?></p> <?php } if( ! empty( $block['read_more'] ) ) { tie_the_more_button( $block['read_more_text'] ); } ?> <?php if( ! empty( $block['excerpt'] ) || ! empty( $block['read_more'] ) ): ?> </div><!-- .entry-content /--> <?php endif; ?> </div><!-- .container-wrapper :: single post /-->