revistas/wp-content/themes/twentytwentyfour/patterns/hidden-post-meta.php

31 líneas
1 KiB
PHP
Original Vista normal Històric

2024-07-13 18:17:17 +02:00
<?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 -->