diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:49 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-17 07:56:49 +0000 |
commit | a415c29efee45520ae252d2aa28f1083a521cd7b (patch) | |
tree | f4ade4b6668ecc0765de7e1424f7c1427ad433ff /wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php | |
parent | Initial commit. (diff) | |
download | wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.tar.xz wordpress-a415c29efee45520ae252d2aa28f1083a521cd7b.zip |
Adding upstream version 6.4.3+dfsg1.upstream/6.4.3+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php')
-rw-r--r-- | wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php b/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php new file mode 100644 index 0000000..add4a1c --- /dev/null +++ b/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php @@ -0,0 +1,30 @@ +<?php +/** + * Title: Post meta + * Slug: twentytwentyfour/hidden-post-meta + * Inserter: no + */ +?> + +<!-- wp:group {"layout":{"type":"constrained"}} --> +<div class="wp-block-group"> + <!-- wp:group {"style":{"spacing":{"blockGap":"0.3em"}},"layout":{"type":"flex","justifyContent":"left"}} --> + <div class="wp-block-group"> + <!-- wp:post-date {"format":"M j, Y","isLink":true} /--> + + <!-- wp:paragraph {"textColor":"contrast-2"} --> + <p class="has-contrast-2-color has-text-color">—</p> + <!-- /wp:paragraph --> + + <!-- wp:paragraph {"fontSize":"small","textColor":"contrast-2"} --> + <p class="has-small-font-size has-contrast-2-color has-text-color"><?php echo esc_html_x( 'by', 'Prefix for the post author block: By author name', 'twentytwentyfour' ); ?></p> + <!-- /wp:paragraph --> + + <!-- wp:post-author-name {"isLink":true} /--> + + <!-- wp:post-terms {"term":"category","prefix":"<?php echo esc_html_x( 'in ', 'Prefix for the post category block: in category name', 'twentytwentyfour' ); ?>"} /--> + + </div> + <!-- /wp:group --> +</div> +<!-- /wp:group --> |