summaryrefslogtreecommitdiff
path: root/template-parts/single/single-layout.php
diff options
context:
space:
mode:
authorZach van Rijn <me@zv.io>2021-07-21 14:54:07 -0500
committerZach van Rijn <me@zv.io>2021-07-21 14:54:07 -0500
commit9d4123cee1867ee7199b06bdc92d40611f547ecc (patch)
tree6d864e2725242863afed1f8ba12d9c7a9bc63a69 /template-parts/single/single-layout.php
downloadblog-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/single/single-layout.php')
-rw-r--r--template-parts/single/single-layout.php70
1 files changed, 70 insertions, 0 deletions
diff --git a/template-parts/single/single-layout.php b/template-parts/single/single-layout.php
new file mode 100644
index 0000000..5441117
--- /dev/null
+++ b/template-parts/single/single-layout.php
@@ -0,0 +1,70 @@
+<?php
+/**
+ * Template for Single post
+ *
+ * @package Astra
+ * @author Astra
+ * @copyright Copyright (c) 2020, Astra
+ * @link https://wpastra.com/
+ * @since Astra 1.0.0
+ */
+
+?>
+
+<div <?php astra_blog_layout_class( 'single-layout-1' ); ?>>
+
+ <?php astra_single_header_before(); ?>
+
+ <header class="entry-header <?php astra_entry_header_class(); ?>">
+
+ <?php astra_single_header_top(); ?>
+
+ <?php astra_blog_post_thumbnail_and_title_order(); ?>
+
+ <?php astra_single_header_bottom(); ?>
+
+ </header><!-- .entry-header -->
+
+ <?php astra_single_header_after(); ?>
+
+ <div class="entry-content clear"
+ <?php
+ echo astra_attr(
+ 'article-entry-content-single-layout',
+ array(
+ 'class' => '',
+ )
+ );
+ ?>
+ >
+
+ <?php astra_entry_content_before(); ?>
+
+ <?php the_content(); ?>
+
+ <?php
+ astra_edit_post_link(
+ sprintf(
+ /* translators: %s: Name of current post */
+ esc_html__( 'Edit %s', 'astra' ),
+ the_title( '<span class="screen-reader-text">"', '"</span>', false )
+ ),
+ '<span class="edit-link">',
+ '</span>'
+ );
+ ?>
+
+ <?php astra_entry_content_after(); ?>
+
+ <?php
+ wp_link_pages(
+ array(
+ 'before' => '<div class="page-links">' . esc_html( astra_default_strings( 'string-single-page-links-before', false ) ),
+ 'after' => '</div>',
+ 'link_before' => '<span class="page-link">',
+ 'link_after' => '</span>',
+ )
+ );
+ ?>
+ </div><!-- .entry-content .clear -->
+</div>