summaryrefslogtreecommitdiffstats
path: root/wp-content/themes/twentytwentythree/patterns
diff options
context:
space:
mode:
Diffstat (limited to 'wp-content/themes/twentytwentythree/patterns')
-rw-r--r--wp-content/themes/twentytwentythree/patterns/call-to-action.php41
-rw-r--r--wp-content/themes/twentytwentythree/patterns/footer-default.php28
-rw-r--r--wp-content/themes/twentytwentythree/patterns/hidden-404.php28
-rw-r--r--wp-content/themes/twentytwentythree/patterns/hidden-comments.php57
-rw-r--r--wp-content/themes/twentytwentythree/patterns/hidden-no-results.php14
-rw-r--r--wp-content/themes/twentytwentythree/patterns/post-meta.php76
6 files changed, 244 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentythree/patterns/call-to-action.php b/wp-content/themes/twentytwentythree/patterns/call-to-action.php
new file mode 100644
index 0000000..119677d
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/call-to-action.php
@@ -0,0 +1,41 @@
+<?php
+/**
+ * Title: Call to action
+ * Slug: twentytwentythree/cta
+ * Categories: featured
+ * Keywords: Call to action
+ * Block Types: core/buttons
+ */
+?>
+<!-- wp:columns {"align":"wide"} -->
+<div class="wp-block-columns alignwide">
+ <!-- wp:column -->
+ <div class="wp-block-column">
+ <!-- wp:paragraph {"style":{"typography":{"lineHeight":"1.2"}},"fontSize":"x-large"} -->
+ <p class="has-x-large-font-size" style="line-height:1.2"><?php echo esc_html_x( 'Got any book recommendations?', 'sample content for call to action', 'twentytwentythree' ); ?>
+ </p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:buttons -->
+ <div class="wp-block-buttons">
+ <!-- wp:button {"fontSize":"small"} -->
+ <div class="wp-block-button has-custom-font-size has-small-font-size">
+ <a class="wp-block-button__link wp-element-button">
+ <?php echo esc_html_x( 'Get In Touch', 'sample content for call to action button', 'twentytwentythree' ); ?>
+ </a>
+ </div>
+ <!-- /wp:button -->
+ </div>
+ <!-- /wp:buttons -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column -->
+ <div class="wp-block-column">
+ <!-- wp:separator {"className":"is-style-wide"} -->
+ <hr class="wp-block-separator has-alpha-channel-opacity is-style-wide"/>
+ <!-- /wp:separator -->
+ </div>
+ <!-- /wp:column -->
+</div>
+<!-- /wp:columns -->
diff --git a/wp-content/themes/twentytwentythree/patterns/footer-default.php b/wp-content/themes/twentytwentythree/patterns/footer-default.php
new file mode 100644
index 0000000..d197bf5
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/footer-default.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Title: Default Footer
+ * Slug: twentytwentythree/footer-default
+ * Categories: footer
+ * Block Types: core/template-part/footer
+ */
+?>
+<!-- wp:group {"layout":{"type":"constrained"}} -->
+<div class="wp-block-group">
+ <!-- wp:group {"align":"wide","style":{"spacing":{"padding":{"top":"var:preset|spacing|40"}}},"layout":{"type":"flex","justifyContent":"space-between"}} -->
+ <div class="wp-block-group alignwide" style="padding-top:var(--wp--preset--spacing--40)">
+ <!-- wp:site-title {"level":0} /-->
+ <!-- wp:paragraph {"align":"right"} -->
+ <p class="has-text-align-right">
+ <?php
+ printf(
+ /* Translators: WordPress link. */
+ esc_html__( 'Proudly powered by %s', 'twentytwentythree' ),
+ '<a href="' . esc_url( __( 'https://wordpress.org', 'twentytwentythree' ) ) . '" rel="nofollow">WordPress</a>'
+ )
+ ?>
+ </p>
+ <!-- /wp:paragraph -->
+ </div>
+ <!-- /wp:group -->
+</div>
+<!-- /wp:group -->
diff --git a/wp-content/themes/twentytwentythree/patterns/hidden-404.php b/wp-content/themes/twentytwentythree/patterns/hidden-404.php
new file mode 100644
index 0000000..ae7dbb1
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/hidden-404.php
@@ -0,0 +1,28 @@
+<?php
+/**
+ * Title: Hidden 404
+ * Slug: twentytwentythree/hidden-404
+ * Inserter: no
+ */
+?>
+<!-- wp:spacer {"height":"var(--wp--preset--spacing--30)"} -->
+<div style="height:var(--wp--preset--spacing--30)" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:heading {"level":1,"align":"wide"} -->
+<h1 class="alignwide"><?php echo esc_html_x( '404', 'Error code for a webpage that is not found.', 'twentytwentythree' ); ?></h1>
+<!-- /wp:heading -->
+
+<!-- wp:group {"align":"wide","layout":{"type":"default"},"style":{"spacing":{"margin":{"top":"5px"}}}} -->
+<div class="wp-block-group alignwide" style="margin-top:5px">
+ <!-- wp:paragraph -->
+ <p><?php echo esc_html_x( 'This page could not be found.', 'Message to convey that a webpage could not be found', 'twentytwentythree' ); ?></p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"width":100,"widthUnit":"%","buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true,"align":"center"} /-->
+</div>
+<!-- /wp:group -->
+
+<!-- wp:spacer {"height":"var(--wp--preset--spacing--70)"} -->
+<div style="height:var(--wp--preset--spacing--70)" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
diff --git a/wp-content/themes/twentytwentythree/patterns/hidden-comments.php b/wp-content/themes/twentytwentythree/patterns/hidden-comments.php
new file mode 100644
index 0000000..84d4a78
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/hidden-comments.php
@@ -0,0 +1,57 @@
+<?php
+/**
+ * Title: Hidden Comments
+ * Slug: twentytwentythree/hidden-comments
+ * Inserter: no
+ */
+?>
+<!-- wp:group {"layout":{"type":"constrained"},"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","right":"var:preset|spacing|40","bottom":"var:preset|spacing|40","left":"var:preset|spacing|40"}}}} -->
+<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--40)">
+ <!-- wp:comments -->
+ <div class="wp-block-comments">
+ <!-- wp:heading {"level":2} -->
+ <h2><?php echo esc_html_x( 'Comments', 'Title of comments section', 'twentytwentythree' ); ?></h2>
+ <!-- /wp:heading -->
+
+ <!-- wp:comments-title {"level":3} /-->
+
+ <!-- wp:comment-template -->
+ <!-- wp:columns {"style":{"spacing":{"margin":{"bottom":"var:preset|spacing|40"}}}} -->
+ <div class="wp-block-columns" style="margin-bottom:var(--wp--preset--spacing--40)">
+ <!-- wp:column {"width":"40px"} -->
+ <div class="wp-block-column" style="flex-basis:40px">
+ <!-- wp:avatar {"size":40,"style":{"border":{"radius":"20px"}}} /-->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column -->
+ <div class="wp-block-column">
+ <!-- wp:comment-author-name /-->
+
+ <!-- wp:group {"style":{"spacing":{"margin":{"top":"0px","bottom":"0px"}}},"layout":{"type":"flex"}} -->
+ <div class="wp-block-group" style="margin-top:0px;margin-bottom:0px">
+ <!-- wp:comment-date /-->
+ <!-- wp:comment-edit-link /-->
+ </div>
+ <!-- /wp:group -->
+
+ <!-- wp:comment-content /-->
+
+ <!-- wp:comment-reply-link /-->
+ </div>
+ <!-- /wp:column -->
+ </div>
+ <!-- /wp:columns -->
+ <!-- /wp:comment-template -->
+
+ <!-- wp:comments-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
+ <!-- wp:comments-pagination-previous /-->
+ <!-- wp:comments-pagination-numbers /-->
+ <!-- wp:comments-pagination-next /-->
+ <!-- /wp:comments-pagination -->
+
+ <!-- wp:post-comments-form /-->
+ </div>
+ <!-- /wp:comments -->
+</div>
+<!-- /wp:group -->
diff --git a/wp-content/themes/twentytwentythree/patterns/hidden-no-results.php b/wp-content/themes/twentytwentythree/patterns/hidden-no-results.php
new file mode 100644
index 0000000..d3f7ae0
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/hidden-no-results.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Title: Hidden No Results Content
+ * Slug: twentytwentythree/hidden-no-results-content
+ * Inserter: no
+ */
+?>
+<!-- wp:paragraph -->
+<p>
+<?php echo esc_html_x( 'Sorry, but nothing matched your search terms. Please try again with some different keywords.', 'Message explaining that there are no results returned from a search', 'twentytwentythree' ); ?>
+</p>
+<!-- /wp:paragraph -->
+
+<!-- wp:search {"label":"<?php echo esc_html_x( 'Search', 'label', 'twentytwentythree' ); ?>","placeholder":"<?php echo esc_attr_x( 'Search...', 'placeholder for search field', 'twentytwentythree' ); ?>","showLabel":false,"buttonText":"<?php esc_attr_e( 'Search', 'twentytwentythree' ); ?>","buttonUseIcon":true} /-->
diff --git a/wp-content/themes/twentytwentythree/patterns/post-meta.php b/wp-content/themes/twentytwentythree/patterns/post-meta.php
new file mode 100644
index 0000000..b704064
--- /dev/null
+++ b/wp-content/themes/twentytwentythree/patterns/post-meta.php
@@ -0,0 +1,76 @@
+<?php
+/**
+ * Title: Post Meta
+ * Slug: twentytwentythree/post-meta
+ * Categories: query
+ * Keywords: post meta
+ * Block Types: core/template-part/post-meta
+ */
+?>
+<!-- wp:spacer {"height":"0"} -->
+<div style="height:0" aria-hidden="true" class="wp-block-spacer"></div>
+<!-- /wp:spacer -->
+
+<!-- wp:group {"style":{"spacing":{"margin":{"top":"var:preset|spacing|70"}}},"layout":{"type":"constrained"}} -->
+<div class="wp-block-group" style="margin-top:var(--wp--preset--spacing--70)">
+ <!-- wp:separator {"opacity":"css","align":"wide","className":"is-style-wide"} -->
+ <hr class="wp-block-separator alignwide has-css-opacity is-style-wide"/>
+ <!-- /wp:separator -->
+
+ <!-- wp:columns {"align":"wide","style":{"spacing":{"margin":{"top":"var:preset|spacing|30"},"blockGap":"var:preset|spacing|30"}},"fontSize":"small"} -->
+ <div class="wp-block-columns alignwide has-small-font-size" style="margin-top:var(--wp--preset--spacing--30)">
+ <!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
+ <div class="wp-block-column">
+ <!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
+ <div class="wp-block-group">
+ <!-- wp:paragraph -->
+ <p>
+ <?php echo esc_html_x( 'Posted', 'Verb to explain the publication status of a post', 'twentytwentythree' ); ?>
+ </p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:post-date /-->
+
+ <!-- wp:paragraph -->
+ <p>
+ <?php echo esc_html_x( 'in', 'Preposition to show the relationship between the post and its categories', 'twentytwentythree' ); ?>
+ </p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:post-terms {"term":"category"} /-->
+ </div>
+ <!-- /wp:group -->
+
+ <!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex"}} -->
+ <div class="wp-block-group">
+ <!-- wp:paragraph -->
+ <p>
+ <?php echo esc_html_x( 'by', 'Preposition to show the relationship between the post and its author', 'twentytwentythree' ); ?>
+ </p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:post-author {"showAvatar":false} /-->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:column -->
+
+ <!-- wp:column {"style":{"spacing":{"blockGap":"0px"}}} -->
+ <div class="wp-block-column">
+ <!-- wp:group {"style":{"spacing":{"blockGap":"0.5ch"}},"layout":{"type":"flex","orientation":"vertical"}} -->
+ <div class="wp-block-group">
+ <!-- wp:paragraph -->
+ <p>
+ <?php echo esc_html_x( 'Tags:', 'Label for a list of post tags', 'twentytwentythree' ); ?>
+ </p>
+ <!-- /wp:paragraph -->
+
+ <!-- wp:post-terms {"term":"post_tag"} /-->
+ </div>
+ <!-- /wp:group -->
+ </div>
+ <!-- /wp:column -->
+ </div>
+ <!-- /wp:columns -->
+</div>
+<!-- /wp:group -->