diff options
author | Zach van Rijn <me@zv.io> | 2021-07-21 14:54:07 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2021-07-21 14:54:07 -0500 |
commit | 9d4123cee1867ee7199b06bdc92d40611f547ecc (patch) | |
tree | 6d864e2725242863afed1f8ba12d9c7a9bc63a69 /template-parts/blog | |
download | blog-ng-9d4123cee1867ee7199b06bdc92d40611f547ecc.tar.gz blog-ng-9d4123cee1867ee7199b06bdc92d40611f547ecc.tar.bz2 blog-ng-9d4123cee1867ee7199b06bdc92d40611f547ecc.tar.xz blog-ng-9d4123cee1867ee7199b06bdc92d40611f547ecc.zip |
Initial unmodified import from Astra (Version: 3.6.5) @ /wp-content/themes/astra/.
Diffstat (limited to 'template-parts/blog')
-rw-r--r-- | template-parts/blog/blog-layout.php | 42 | ||||
-rw-r--r-- | template-parts/blog/index.php | 9 |
2 files changed, 51 insertions, 0 deletions
diff --git a/template-parts/blog/blog-layout.php b/template-parts/blog/blog-layout.php new file mode 100644 index 0000000..66acc03 --- /dev/null +++ b/template-parts/blog/blog-layout.php @@ -0,0 +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 -->
diff --git a/template-parts/blog/index.php b/template-parts/blog/index.php new file mode 100644 index 0000000..8b96815 --- /dev/null +++ b/template-parts/blog/index.php @@ -0,0 +1,9 @@ +<?php
+/**
+ * Index file
+ *
+ * @package Astra
+ * @since Astra 1.0.0
+ */
+
+/* Silence is golden, and we agree. */
|