Make WordPress Core


Ignore:
Timestamp:
10/07/2024 06:07:57 PM (14 months ago)
Author:
desrosj
Message:

Twenty Twenty-Five: Merge the latest improvements for Beta 2.

This merges the latest improvements to the Twenty Twenty-Five theme from GitHub into trunk for 6.7 beta 2.

A full list of changes can be found on GitHub: https://github.com/WordPress/twentytwentyfive/commits/trunk/?since=2024-10-01&until=2024-10-07.

Props poena, mukesh27, jonnywatersbb, cliffralessio, afercia, samtoohey93, codersantosh, carstenbach, gohelkunjan, ryelle, aaronrobertshaw, wildworks, yukinobu, audrasjb, mdviralsampat, hanneslsm, ddewan, greenshady, joedolson, areziaal, alaminfirdows, kartikmehta, cwhitmore.
Fixes #62180.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfive/patterns/template-query-loop-news-blog.php

    r59146 r59191  
    1515<!-- wp:columns {"style":{"spacing":{"blockGap":{"top":"var:preset|spacing|50","left":"var:preset|spacing|50"},"padding":{"top":"var:preset|spacing|50","bottom":"var:preset|spacing|50"}},"border":{"top":{"color":"var:preset|color|accent-6","width":"1px"}}}} -->
    1616<div class="wp-block-columns" style="border-top-color:var(--wp--preset--color--accent-6);border-top-width:1px;padding-top:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50)"><!-- wp:column {"width":"20%"} -->
    17 <div class="wp-block-column" style="flex-basis:20%"><!-- wp:post-date /--></div>
     17<div class="wp-block-column" style="flex-basis:20%"><!-- wp:post-date {"isLink":true} /--></div>
    1818<!-- /wp:column -->
    1919
     
    2626
    2727<!-- wp:group {"style":{"spacing":{"blockGap":"0.12em"}},"layout":{"type":"flex","flexWrap":"nowrap"}} -->
    28 <div class="wp-block-group"><!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-4"}}}},"textColor":"accent-4","fontSize":"small"} -->
    29 <p class="has-accent-4-color has-text-color has-link-color has-small-font-size">Written by</p>
    30 <!-- /wp:paragraph -->
    31 
    32 <!-- wp:post-author-name {"isLink":true,"fontSize":"small"} /--></div>
     28<div class="wp-block-group">
     29    <!-- wp:paragraph {"style":{"elements":{"link":{"color":{"text":"var:preset|color|accent-4"}}}},"textColor":"accent-4","fontSize":"small"} -->
     30    <p class="has-accent-4-color has-text-color has-link-color has-small-font-size"><?php echo esc_html_x( 'Written by', 'Prefix before the author name. The post author name is displayed in a separate block.', 'twentytwentyfive' ); ?></p>
     31    <!-- /wp:paragraph -->
     32    <!-- wp:post-author-name {"isLink":true,"fontSize":"small"} /-->
     33</div>
    3334<!-- /wp:group --></div>
    3435<!-- /wp:column -->
     
    4243<!-- wp:group {"style":{"spacing":{"padding":{"top":"var:preset|spacing|40","bottom":"var:preset|spacing|40"}}},"layout":{"type":"default"}} -->
    4344<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--40);padding-bottom:var(--wp--preset--spacing--40)"><!-- wp:query-pagination {"paginationArrow":"arrow","layout":{"type":"flex","justifyContent":"space-between"}} -->
    44 <!-- wp:query-pagination-previous {"label":"Newer Posts"} /-->
     45<!-- wp:query-pagination-previous {"label":"<?php esc_html_e( 'Newer Posts', 'twentytwentyfive' ); ?>"} /-->
    4546
    4647<!-- wp:query-pagination-numbers /-->
    4748
    48 <!-- wp:query-pagination-next {"label":"Older Posts"} /-->
     49<!-- wp:query-pagination-next {"label":"<?php esc_html_e( 'Older Posts', 'twentytwentyfive' ); ?>"} /-->
    4950<!-- /wp:query-pagination --></div>
    5051<!-- /wp:group -->
     
    5253<!-- wp:query-no-results -->
    5354<!-- wp:paragraph -->
    54 <p><?php echo esc_html_x( 'Sorry, but nothing was found. Please try a search with different keywords.', 'Message explaining that there are no results returned from a search', 'twentytwentyfive' ); ?>.</p>
     55<p><?php echo esc_html_x( 'Sorry, but nothing was found. Please try a search with different keywords.', 'Message explaining that there are no results returned from a search.', 'twentytwentyfive' ); ?></p>
    5556<!-- /wp:paragraph -->
    5657<!-- /wp:query-no-results -->
Note: See TracChangeset for help on using the changeset viewer.