diff options
Diffstat (limited to 'template-parts/blog')
-rw-r--r-- | template-parts/blog/blog-layout.php | 84 | ||||
-rw-r--r-- | template-parts/blog/index.php | 18 |
2 files changed, 51 insertions, 51 deletions
diff --git a/template-parts/blog/blog-layout.php b/template-parts/blog/blog-layout.php index 66acc03..660e953 100644 --- a/template-parts/blog/blog-layout.php +++ b/template-parts/blog/blog-layout.php @@ -1,42 +1,42 @@ -<?php
-/**
- * Template for Blog
- *
- * @package Astra
- * @author Astra
- * @copyright Copyright (c) 2020, Astra
- * @link https://wpastra.com/
- * @since Astra 1.0.0
- */
-
-?>
-<div <?php astra_blog_layout_class( 'blog-layout-1' ); ?>>
- <div class="post-content <?php echo astra_attr( 'ast-grid-common-col' ); ?>" >
- <?php astra_blog_post_thumbnail_and_title_order(); ?>
- <div class="entry-content clear"
- <?php
- echo astra_attr(
- 'article-entry-content-blog-layout',
- array(
- 'class' => '',
- )
- );
- ?>
- >
- <?php
- astra_entry_content_before();
- astra_the_excerpt();
- astra_entry_content_after();
-
- 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-1 -->
+<?php +/** + * Template for Blog + * + * @package Astra + * @author Astra + * @copyright Copyright (c) 2020, Astra + * @link https://wpastra.com/ + * @since Astra 1.0.0 + */ + +?> +<div <?php astra_blog_layout_class( 'blog-layout-1' ); ?>> + <div class="post-content <?php echo astra_attr( 'ast-grid-common-col' ); ?>" > + <?php astra_blog_post_thumbnail_and_title_order(); ?> + <div class="entry-content clear" + <?php + echo astra_attr( + 'article-entry-content-blog-layout', + array( + 'class' => '', + ) + ); + ?> + > + <?php + astra_entry_content_before(); + astra_the_excerpt(); + astra_entry_content_after(); + + 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-1 --> diff --git a/template-parts/blog/index.php b/template-parts/blog/index.php index 8b96815..820bcb9 100644 --- a/template-parts/blog/index.php +++ b/template-parts/blog/index.php @@ -1,9 +1,9 @@ -<?php
-/**
- * Index file
- *
- * @package Astra
- * @since Astra 1.0.0
- */
-
-/* Silence is golden, and we agree. */
+<?php +/** + * Index file + * + * @package Astra + * @since Astra 1.0.0 + */ + +/* Silence is golden, and we agree. */ |