Created
December 6, 2019 06:35
-
-
Save Balachandark/0d18db086c604f2870f22373d8baabbb to your computer and use it in GitHub Desktop.
Blog Pro - Blog Layout 3 Template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Blog Pro - Blog Layout 3 Template | |
* | |
* @todo Update this template for Default Blog Style | |
* | |
* @package Astra Addon | |
*/ | |
?> | |
<div <?php astra_blog_layout_class( 'blog-layout-3' ); ?>> | |
<?php $featured_item = apply_filters( 'astra_featured_image_enabled', true ); ?> | |
<?php if ( $featured_item ) : ?> | |
<?php | |
// Blog Post Featured Image. | |
astra_get_post_thumbnail( '<div class="ast-blog-featured-section post-thumb ast-col-md-4">', '</div>' ); | |
?> | |
<?php endif; ?> | |
<div class="post-content ast-col-md-8"> | |
<?php astra_get_blog_post_title_meta(); ?> | |
<div class="entry-content clear" | |
<?php | |
echo astra_attr( | |
'article-entry-content-blog-layout-3', | |
array( | |
'class' => '', | |
) | |
); | |
?> | |
> | |
<?php astra_entry_content_before(); ?> | |
<?php astra_the_excerpt(); ?> | |
<?php astra_entry_content_after(); ?> | |
<?php | |
wp_link_pages( | |
array( | |
'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-blog-page-links-before', false ) ), | |
'after' => '</div>', | |
'link_before' => '<span class="page-link">', | |
'link_after' => '</span>', | |
) | |
); | |
?> | |
</div><!-- .entry-content .clear --> | |
</div><!-- .post-content --> | |
</div> <!-- .blog-layout-3 --> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment