CoreFiles by mySites.guru
hidden-keep-reading.php27 lines, 2,274 bytes, from wordpress-7.2-beta5.zip
Raw History Compare with 7.2-beta4
md5
fafe1db380d69dbe647cb6848ed4dbb3
sha1
3718048c2568ea81cbc5f748df226faace493b8c
sha256
fafc79b0eb0df751a2e4539964d0fc922f997bfa7611dc7581b45c59d58cb3af
<?php
/**
 * Title: Keep Reading
 * Slug: ipsum/hidden-keep-reading
 * Inserter: no
 * Description: The end of the Single Posts templates. It has a small “Keep Reading” label over the three latest other posts, each a title and how long ago it was published.
 *
 * @package Ipsum
 * @since Ipsum 1.0
 */

?>
<!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Keep Reading', 'Name of the keep reading group', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|30","padding":{"top":"var:preset|spacing|60"}},"border":{"top":{"color":"var:preset|color|accent-6","style":"solid","width":"1px"}}},"layout":{"type":"default"}} -->
<div class="wp-block-group" style="border-top-color:var(--wp--preset--color--accent-6);border-top-style:solid;border-top-width:1px;padding-top:var(--wp--preset--spacing--60)"><!-- wp:heading {"metadata":{"name":"<?php echo esc_html_x( 'Keep Reading Label', 'Name of the keep reading heading', 'ipsum' ); ?>"},"style":{"typography":{"letterSpacing":"0rem"}},"fontSize":"small"} -->
<h2 class="wp-block-heading has-small-font-size" style="letter-spacing:0rem"><?php esc_html_e( 'Keep Reading', 'ipsum' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"ignore","inherit":false,"taxQuery":null,"parents":[],"excludeCurrent":true},"layout":{"type":"default"}} -->
<div class="wp-block-query"><!-- wp:post-template {"style":{"spacing":{"blockGap":"var:preset|spacing|50"}},"layout":{"type":"default"}} -->
<!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'Recent Post', 'Name of the group holding one recent post', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":{"top":"0"}}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
<div class="wp-block-group"><!-- wp:post-title {"level":3,"isLink":true,"style":{"typography":{"fontStyle":"normal","fontWeight":"500","letterSpacing":"0rem"}},"fontSize":"medium"} /-->

<!-- wp:post-date {"format":"human-diff","style":{"typography":{"fontStyle":"normal","fontWeight":"400","letterSpacing":"0rem"}}} /--></div>
<!-- /wp:group -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->

The same content is in 3 releases, WordPress 7.2-beta5 to 7.2-RC2. See them all, or every version of this file.