mirror of
https://github.com/WordPress/WordPress.git
synced 2025-03-13 07:10:00 +01:00
This ticket replaces the issue not resolved in time before the release of the theme. This now takes the feedback of translators and iterates on that. Props poena, desrosj, hameem1102, burakkaptan, jorbin, prathamesh24, audrasjb. Fixes #62482. Built from https://develop.svn.wordpress.org/trunk@59891 git-svn-id: http://core.svn.wordpress.org/trunk@59233 1a063a9b-81f0-0310-95a4-ce76da25c4cd
52 lines
2.2 KiB
PHP
52 lines
2.2 KiB
PHP
<?php
|
|
/**
|
|
* Title: Right-aligned query loop
|
|
* Slug: twentytwentyfive/template-query-loop-vertical-header-blog
|
|
* Inserter: no
|
|
*
|
|
* @package WordPress
|
|
* @subpackage Twenty_Twenty_Five
|
|
* @since Twenty Twenty-Five 1.0
|
|
*/
|
|
|
|
?>
|
|
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]}} -->
|
|
<div class="wp-block-query">
|
|
<!-- wp:post-template -->
|
|
<!-- wp:group {"layout":{"type":"flex","orientation":"vertical","justifyContent":"stretch"}} -->
|
|
<div class="wp-block-group">
|
|
<!-- wp:post-title {"isLink":true,"fontSize":"xx-large"} /-->
|
|
<!-- wp:post-date {"fontSize":"small","isLink":true} /-->
|
|
</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 {"style":{"spacing":{"blockGap":{"left":"var:preset|spacing|50"}}}} -->
|
|
<div class="wp-block-columns"><!-- wp:column {"width":"70%"} -->
|
|
<div class="wp-block-column" style="flex-basis:70%"><!-- wp:post-excerpt {"moreText":"","showMoreOnNewLine":false} /--></div>
|
|
<!-- /wp:column -->
|
|
|
|
<!-- wp:column -->
|
|
<div class="wp-block-column"></div>
|
|
<!-- /wp:column --></div>
|
|
<!-- /wp:columns -->
|
|
<!-- wp:post-featured-image {"isLink":true,"aspectRatio":"16/9"} /-->
|
|
<!-- wp:spacer {"height":"var:preset|spacing|80"} -->
|
|
<div style="height:var(--wp--preset--spacing--80)" aria-hidden="true" class="wp-block-spacer"></div>
|
|
<!-- /wp:spacer -->
|
|
<!-- /wp:post-template -->
|
|
<!-- wp:query-pagination {"layout":{"type":"flex","justifyContent":"space-between","flexWrap":"wrap"}} -->
|
|
<!-- wp:query-pagination-previous /-->
|
|
<!-- wp:query-pagination-numbers /-->
|
|
<!-- wp:query-pagination-next /-->
|
|
<!-- /wp:query-pagination -->
|
|
|
|
<!-- wp:query-no-results -->
|
|
<!-- wp:paragraph -->
|
|
<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>
|
|
<!-- /wp:paragraph -->
|
|
<!-- /wp:query-no-results -->
|
|
</div>
|
|
<!-- /wp:query -->
|