Twenty Twenty-Four: Bugfixes for 6.4 RC1.
Resyncing changes for TT4 into Core.
Changes include:
* Reformatted all the patterns for readability.
* Bugfixes in the markup and improvements on the string translation functions.
* Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.
Follow-up to [56813], [56764], [56716].
Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.
Built from https://develop.svn.wordpress.org/trunk@56951
git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 04:14:24 +02:00
< ? php
/**
* Title : Text with alternating images
* Slug : twentytwentyfour / text - alternating - images
* Categories : text , about
* Viewport width : 1400
2024-05-06 22:32:15 +02:00
* Description : A text section , then a two column section with text in one and image in another .
Twenty Twenty-Four: Bugfixes for 6.4 RC1.
Resyncing changes for TT4 into Core.
Changes include:
* Reformatted all the patterns for readability.
* Bugfixes in the markup and improvements on the string translation functions.
* Renaming of some patterns, making them consistent with the content they show and whether they are simple patterns, full-page patterns or patterns meant to replace templates.
Follow-up to [56813], [56764], [56716].
Props richtabor, onemaggie, luminuu, shailu25, dunhakdis, shivashankerbhatta, dajeema, enodekciw, kafleg, viralsampat, glendaviesnz, beafialho, webmandesign, huzaifaalmesbah, gregfuller, benharri.
Fixes #59640.
Built from https://develop.svn.wordpress.org/trunk@56951
git-svn-id: http://core.svn.wordpress.org/trunk@56462 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2023-10-17 04:14:24 +02:00
*/
?>
<!-- wp : group { " align " : " full " , " style " : { " spacing " : { " padding " : { " top " : " var:preset|spacing|50 " , " bottom " : " var:preset|spacing|50 " , " left " : " var:preset|spacing|50 " , " right " : " var:preset|spacing|50 " }, " margin " : { " top " : " 0 " , " bottom " : " 0 " }}}, " layout " : { " type " : " constrained " }} -->
< div class = " wp-block-group alignfull " style = " margin-top:0;margin-bottom:0;padding-top:var(--wp--preset--spacing--50);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--50);padding-left:var(--wp--preset--spacing--50) " >
<!-- wp : group { " align " : " wide " , " style " : { " spacing " : { " blockGap " : " 0 " }}, " layout " : { " type " : " constrained " }} -->
< div class = " wp-block-group alignwide " >
<!-- wp : group { " style " : { " spacing " : { " blockGap " : " var:preset|spacing|10 " }}, " layout " : { " type " : " flex " , " orientation " : " vertical " , " justifyContent " : " center " }} -->
< div class = " wp-block-group " >
<!-- wp : heading { " textAlign " : " center " , " className " : " is-style-asterisk " } -->
< h2 class = " wp-block-heading has-text-align-center is-style-asterisk " >< ? php echo esc_html_x ( 'An array of resources' , 'Sample heading content' , 'twentytwentyfour' ); ?> </h2>
<!-- / wp : heading -->
<!-- wp : paragraph { " align " : " center " , " style " : { " layout " : { " selfStretch " : " fit " , " flexSize " : null }}} -->
< p class = " has-text-align-center " >< ? php echo esc_html_x ( 'Our comprehensive suite of professional services caters to a diverse clientele, ranging from homeowners to commercial developers.' , 'Sample subheading content' , 'twentytwentyfour' ); ?> </p>
<!-- / wp : paragraph -->
</ div >
<!-- / wp : group -->
<!-- wp : spacer { " height " : " var:preset|spacing|40 " } -->
< div style = " height:var(--wp--preset--spacing--40) " aria - hidden = " true " class = " wp-block-spacer " ></ div >
<!-- / wp : spacer -->
<!-- wp : columns { " align " : " wide " , " style " : { " spacing " : { " blockGap " : { " top " : " var:preset|spacing|50 " , " left " : " var:preset|spacing|60 " }}}} -->
< div class = " wp-block-columns alignwide " >
<!-- wp : column { " verticalAlignment " : " center " , " width " : " 40% " } -->
< div class = " wp-block-column is-vertically-aligned-center " style = " flex-basis:40% " >
<!-- wp : heading { " level " : 3 , " className " : " is-style-asterisk " } -->
< h3 class = " wp-block-heading is-style-asterisk " >< ? php echo esc_html_x ( 'Études Architect App' , 'Sample list heading' , 'twentytwentyfour' ); ?> </h3>
<!-- / wp : heading -->
<!-- wp : list { " style " : { " typography " : { " lineHeight " : " 1.75 " }}, " className " : " is-style-checkmark-list " } -->
< ul class = " is-style-checkmark-list " style = " line-height:1.75 " >
<!-- wp : list - item -->
< li >< ? php echo esc_html_x ( 'Collaborate with fellow architects.' , 'Sample list item' , 'twentytwentyfour' ); ?> </li>
<!-- / wp : list - item -->
<!-- wp : list - item -->
< li >< ? php echo esc_html_x ( 'Showcase your projects.' , 'Sample list item' , 'twentytwentyfour' ); ?> </li>
<!-- / wp : list - item -->
<!-- wp : list - item -->
< li >< ? php echo esc_html_x ( 'Experience the world of architecture.' , 'Sample list item' , 'twentytwentyfour' ); ?> </li>
<!-- / wp : list - item -->
</ ul >
<!-- / wp : list -->
</ div >
<!-- / wp : column -->
<!-- wp : column { " width " : " 50% " } -->
< div class = " wp-block-column " style = " flex-basis:50% " >
<!-- wp : image { " aspectRatio " : " 4/3 " , " scale " : " cover " , " sizeSlug " : " large " , " linkDestination " : " none " , " className " : " is-style-rounded " } -->
< figure class = " wp-block-image size-large is-style-rounded " >
< img src = " <?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/tourist-and-building.webp " alt = " <?php esc_attr_e( 'Tourist taking photo of a building', 'twentytwentyfour' ); ?> " />
</ figure >
<!-- / wp : image -->
</ div >
<!-- / wp : column -->
</ div >
<!-- / wp : columns -->
<!-- wp : spacer { " height " : " var:preset|spacing|40 " } -->
< div style = " height:var(--wp--preset--spacing--40) " aria - hidden = " true " class = " wp-block-spacer " ></ div >
<!-- / wp : spacer -->
<!-- wp : columns { " align " : " wide " , " style " : { " spacing " : { " blockGap " : { " top " : " var:preset|spacing|50 " , " left " : " var:preset|spacing|60 " }}}} -->
< div class = " wp-block-columns alignwide " >
<!-- wp : column { " width " : " 50% " } -->
< div class = " wp-block-column " style = " flex-basis:50% " >
<!-- wp : image { " aspectRatio " : " 4/3 " , " scale " : " cover " , " sizeSlug " : " large " , " linkDestination " : " none " , " className " : " is-style-rounded " } -->
< figure class = " wp-block-image size-large is-style-rounded " >
< img src = " <?php echo esc_url( get_template_directory_uri() ); ?>/assets/images/windows.webp " alt = " <?php esc_attr_e( 'Windows of a building in Nuremberg, Germany', 'twentytwentyfour' ); ?> " />
</ figure >
<!-- / wp : image -->
</ div >
<!-- / wp : column -->
<!-- wp : column { " verticalAlignment " : " center " , " width " : " 40% " } -->
< div class = " wp-block-column is-vertically-aligned-center " style = " flex-basis:40% " >
<!-- wp : heading { " level " : 3 , " className " : " is-style-asterisk " } -->
< h3 class = " wp-block-heading is-style-asterisk " >< ? php echo esc_html_x ( 'Études Newsletter' , 'Sample heading' , 'twentytwentyfour' ); ?> </h3>
<!-- / wp : heading -->
<!-- wp : list { " style " : { " typography " : { " lineHeight " : " 1.75 " }}, " className " : " is-style-checkmark-list " } -->
< ul class = " is-style-checkmark-list " style = " line-height:1.75 " >
<!-- wp : list - item -->
< li >< ? php echo esc_html_x ( 'A world of thought-provoking articles.' , 'Sample list item' , 'twentytwentyfour' ); ?> </li>
<!-- / wp : list - item -->
<!-- wp : list - item -->
< li >< ? php echo esc_html_x ( 'Case studies that celebrate architecture.' , 'Sample list item' , 'twentytwentyfour' ); ?> </li>
<!-- / wp : list - item -->
<!-- wp : list - item -->
< li >< ? php echo esc_html_x ( 'Exclusive access to design insights.' , 'Sample list item' , 'twentytwentyfour' ); ?> </li>
<!-- / wp : list - item -->
</ ul >
<!-- / wp : list -->
</ div >
<!-- / wp : column -->
</ div >
<!-- / wp : columns -->
</ div >
<!-- / wp : group -->
</ div >
<!-- / wp : group -->