Make WordPress Core


Ignore:
Timestamp:
10/03/2023 03:12:30 PM (13 months ago)
Author:
hellofromTonya
Message:

Bundled Themes: Update TT4 for 6.4 Beta 2.

Twenty Twenty-Four (TT4) updates for 6.4 Beta 2.

Changes include bugfixes from the theme's development repo since Beta 1 such as:

  • Renamed patterns and images
  • Improved image descriptions
  • Polished a few of the templates to fit better the design
  • Addressed some a11y concerns.
  • Changed the required version to 6.4, aligning it with the last few default themes since we are making use of some of the features that will make it to 6.4, such as aspect ratio.

Follow-up to [56726], [56721], [56716].

Props onemaggie, desrosj, mukesh27.
Fixes #59524.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentyfour/patterns/hidden-sidebar.php

    r56716 r56764  
    77 */
    88?>
    9 
    10 <!-- wp:group {"style":{"spacing":{"blockGap":"var:preset|spacing|40"}},"layout":{"type":"constrained","contentSize":"420px"}} -->
    11 <div class="wp-block-group">
    12 
    13 <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
    14 <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
    15 <!-- /wp:spacer -->
    16 
    17 <!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
     9<!-- wp:group {"style":{"spacing":{"blockGap":"36px","padding":{"right":"0","left":"0"}}},"layout":{"type":"default"}} -->
     10<div class="wp-block-group" style="padding-right:0;padding-left:0"><!-- wp:group {"style":{"spacing":{"margin":{"top":"0","bottom":"0"}}},"layout":{"type":"constrained"}} -->
    1811<div class="wp-block-group" style="margin-top:0;margin-bottom:0"><!-- wp:avatar {"size":80,"style":{"border":{"radius":"16px"}}} /-->
    1912
    20 <!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
    21 <h2 class="wp-block-heading" style="font-size:1.6rem"><?php echo esc_html__( 'About the author', 'twentytwentyfour' ); ?></h2>
     13<!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
     14<div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
     15<h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'About the author', 'twentytwentyfour' ); ?></h2>
    2216<!-- /wp:heading -->
    2317
    2418<!-- wp:post-author-biography {"fontSize":"small"} /--></div>
     19<!-- /wp:group --></div>
    2520<!-- /wp:group -->
    2621
     
    2924<!-- /wp:separator -->
    3025
    31 <!-- wp:group {"layout":{"type":"constrained"}} -->
    32 <div class="wp-block-group">
    33     <!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
    34     <h2 class="wp-block-heading" style="font-size:1.6rem"><?php echo esc_html__( 'Latest Posts', 'twentytwentyfour' ); ?></h2>
    35     <!-- /wp:heading -->
     26<!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"constrained"}} -->
     27<div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
     28<h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'Popular Categories', 'twentytwentyfour' ); ?></h2>
     29<!-- /wp:heading -->
    3630
    37     <!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
    38     <div class="wp-block-query"><!-- wp:post-template -->
    39     <!-- wp:group {"style":{"spacing":{"blockGap":"2px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
    40     <div class="wp-block-group"><!-- wp:post-title {"isLink":true,"fontSize":"medium"} /-->
    41     <!-- wp:template-part {"slug":"post-meta","theme":"twentytwentyfour"} /-->
    42     </div>
    43     <!-- /wp:group -->
     31<!-- wp:categories {"showHierarchy":true,"showPostCounts":true,"fontSize":"small"} /--></div>
     32<!-- /wp:group -->
    4433
    45     <!-- wp:spacer {"height":"var:preset|spacing|10"} -->
    46     <div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
    47     <!-- /wp:spacer -->
    48     <!-- /wp:post-template --></div>
    49     <!-- /wp:query -->
     34<!-- wp:separator {"backgroundColor":"base-3","className":"is-style-wide"} -->
     35<hr class="wp-block-separator has-text-color has-base-3-color has-alpha-channel-opacity has-base-3-background-color has-background is-style-wide"/>
     36<!-- /wp:separator -->
     37
     38<!-- wp:group {"style":{"spacing":{"blockGap":"26px"}},"layout":{"type":"constrained"}} -->
     39<div class="wp-block-group"><!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","orientation":"vertical"}} -->
     40<div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
     41<h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'Useful Links', 'twentytwentyfour' ); ?></h2>
     42<!-- /wp:heading -->
     43
     44<!-- wp:paragraph {"fontSize":"small"} -->
     45<p class="has-small-font-size"><?php esc_html_e( 'Links I found useful and wanted to share.', 'twentytwentyfour' ); ?></p>
     46<!-- /wp:paragraph --></div>
     47<!-- /wp:group -->
     48
     49<!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400"},"spacing":{"blockGap":"var:preset|spacing|10"}},"fontSize":"small"} -->
     50<!-- wp:navigation-link {"label":"<?php esc_html_e( 'Latest inflation report', 'twentytwentyfour' ); ?>","url":"#","className":"is-style-arrow-link","style":{"typography":{"textDecoration":"underline"}}} /-->
     51<!-- wp:navigation-link {"label":"<?php esc_html_e( 'Financial apps for families', 'twentytwentyfour' ); ?>","url":"#","className":"is-style-arrow-link","style":{"typography":{"textDecoration":"underline"}}} /-->
     52<!-- /wp:navigation -->
    5053</div>
    5154<!-- /wp:group -->
     
    5558<!-- /wp:separator -->
    5659
    57 <!-- wp:group {"layout":{"type":"constrained"}} -->
     60<!-- wp:group {"style":{"spacing":{"blockGap":"16px"}},"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
    5861<div class="wp-block-group"><!-- wp:heading {"style":{"typography":{"fontSize":"1.6rem"}}} -->
    59 <h2 class="wp-block-heading" style="font-size:1.6rem"><?php echo esc_html__( 'Links', 'twentytwentyfour' ); ?></h2>
     62<h2 class="wp-block-heading" style="font-size:1.6rem"><?php esc_html_e( 'Search the website', 'twentytwentyfour' ); ?></h2>
    6063<!-- /wp:heading -->
    6164
    62 
    63 <!-- wp:navigation {"overlayMenu":"never","layout":{"type":"flex","orientation":"vertical"},"style":{"typography":{"fontStyle":"normal","fontWeight":"400","textDecoration":"underline"}},"fontSize":"small"} -->
    64 <!-- wp:navigation-link {"label":"<?php echo esc_html__( 'Latest inflation report', 'twentytwentyfour' ); ?>","url":"#"} /-->
    65 <!-- wp:navigation-link {"label":"<?php echo esc_html__( 'Financial apps for families', 'twentytwentyfour' ); ?>","url":"#"} /-->
    66 <!-- /wp:navigation --></div>
     65<!-- wp:search {"label":"<?php echo esc_attr_x( 'Search', 'search form label', 'twentytwentyfour' ); ?>","showLabel":false,"placeholder":"<?php echo esc_attr_x( 'Search...', 'search form placeholder', 'twentytwentyfour' ); ?>","width":100,"widthUnit":"%","buttonText":"<?php echo esc_attr_x( 'Search', 'search form label', 'twentytwentyfour' ); ?>"} /--></div>
    6766<!-- /wp:group -->
    6867
    6968<!-- wp:spacer {"height":"var:preset|spacing|10"} -->
    7069<div style="height:var(--wp--preset--spacing--10)" aria-hidden="true" class="wp-block-spacer"></div>
    71 <!-- /wp:spacer -->
    72 
    73 </div>
     70<!-- /wp:spacer --></div>
    7471<!-- /wp:group -->
Note: See TracChangeset for help on using the changeset viewer.