query-offset-posts.php 0000644 00000003724 15044105111 0011052 0 ustar 00 <?php
/**
* Query: Offset.
*
* @package WordPress
*/
return array(
'title' => _x( 'Offset', 'Block pattern title' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
<div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:columns -->
<div class="wp-block-columns"><!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
<div class="wp-block-query"><!-- wp:post-template -->
<!-- wp:post-featured-image /-->
<!-- wp:post-title /-->
<!-- wp:post-date /-->
<!-- wp:spacer {"height":200} -->
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:column -->
<!-- wp:column {"width":"50%"} -->
<div class="wp-block-column" style="flex-basis:50%"><!-- wp:query {"query":{"perPage":2,"pages":0,"offset":2,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"list"}} -->
<div class="wp-block-query"><!-- wp:post-template -->
<!-- wp:spacer {"height":200} -->
<div style="height:200px" aria-hidden="true" class="wp-block-spacer"></div>
<!-- /wp:spacer -->
<!-- wp:post-featured-image /-->
<!-- wp:post-title /-->
<!-- wp:post-date /-->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:column --></div>
<!-- /wp:columns --></div>
<!-- /wp:group -->',
);
query-medium-posts.php 0000644 00000002035 15044105111 0011036 0 ustar 00 <?php
/**
* Query: Image at left.
*
* @package WordPress
*/
return array(
'title' => _x( 'Image at left', 'Block pattern title' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
<div class="wp-block-query">
<!-- wp:post-template -->
<!-- wp:columns {"align":"wide"} -->
<div class="wp-block-columns alignwide"><!-- wp:column {"width":"66.66%"} -->
<div class="wp-block-column" style="flex-basis:66.66%"><!-- wp:post-featured-image {"isLink":true} /--></div>
<!-- /wp:column -->
<!-- wp:column {"width":"33.33%"} -->
<div class="wp-block-column" style="flex-basis:33.33%"><!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->',
);
query-large-title-posts.php 0000644 00000003703 15044105111 0011772 0 ustar 00 <?php
/**
* Query: Large title.
*
* @package WordPress
*/
return array(
'title' => _x( 'Large title', 'Block pattern title' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"100px","right":"100px","bottom":"100px","left":"100px"}},"color":{"text":"#ffffff","background":"#000000"}}} -->
<div class="wp-block-group alignfull has-text-color has-background" style="background-color:#000000;color:#ffffff;padding-top:100px;padding-right:100px;padding-bottom:100px;padding-left:100px"><!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
<div class="wp-block-query"><!-- wp:post-template -->
<!-- wp:separator {"customColor":"#ffffff","align":"wide","className":"is-style-wide"} -->
<hr class="wp-block-separator alignwide has-text-color has-background is-style-wide" style="background-color:#ffffff;color:#ffffff"/>
<!-- /wp:separator -->
<!-- wp:columns {"verticalAlignment":"center","align":"wide"} -->
<div class="wp-block-columns alignwide are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"20%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:20%"><!-- wp:post-date {"style":{"color":{"text":"#ffffff"}},"fontSize":"extra-small"} /--></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"80%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:80%"><!-- wp:post-title {"isLink":true,"style":{"typography":{"fontSize":"72px","lineHeight":"1.1"},"color":{"text":"#ffffff","link":"#ffffff"}}} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template --></div>
<!-- /wp:query --></div>
<!-- /wp:group -->',
);
error_log 0000644 00000015032 15044105112 0006453 0 ustar 00 [02-Aug-2025 09:42:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-small-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-small-posts.php on line 9
[02-Aug-2025 09:44:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-standard-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-standard-posts.php on line 9
[02-Aug-2025 09:45:44 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php on line 9
[02-Aug-2025 09:47:49 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-offset-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-offset-posts.php on line 9
[02-Aug-2025 09:48:54 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-medium-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-medium-posts.php on line 9
[02-Aug-2025 09:50:55 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/social-links-shared-background-color.php:11
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/social-links-shared-background-color.php on line 11
[02-Aug-2025 09:55:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-grid-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-grid-posts.php on line 9
[02-Aug-2025 20:06:02 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-offset-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-offset-posts.php on line 9
[02-Aug-2025 20:08:18 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-grid-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-grid-posts.php on line 9
[02-Aug-2025 20:10:26 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-small-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-small-posts.php on line 9
[02-Aug-2025 20:10:27 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php on line 9
[02-Aug-2025 20:10:27 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-standard-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-standard-posts.php on line 9
[02-Aug-2025 20:13:10 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-medium-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-medium-posts.php on line 9
[02-Aug-2025 20:16:30 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/social-links-shared-background-color.php:11
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/social-links-shared-background-color.php on line 11
[03-Aug-2025 19:30:57 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php on line 9
[03-Aug-2025 20:32:32 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-grid-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-grid-posts.php on line 9
[03-Aug-2025 20:32:33 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-large-title-posts.php on line 9
[03-Aug-2025 20:32:35 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-medium-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-medium-posts.php on line 9
[03-Aug-2025 20:32:37 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-offset-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-offset-posts.php on line 9
[03-Aug-2025 20:32:39 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-small-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-small-posts.php on line 9
[03-Aug-2025 20:32:41 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/query-standard-posts.php:9
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/query-standard-posts.php on line 9
[03-Aug-2025 20:32:43 UTC] PHP Fatal error: Uncaught Error: Call to undefined function _x() in /home/otwalrll/public_html/wp-includes/block-patterns/social-links-shared-background-color.php:11
Stack trace:
#0 {main}
thrown in /home/otwalrll/public_html/wp-includes/block-patterns/social-links-shared-background-color.php on line 11
query-grid-posts.php 0000644 00000001714 15044105112 0010507 0 ustar 00 <?php
/**
* Query: Grid.
*
* @package WordPress
*/
return array(
'title' => _x( 'Grid', 'Block pattern title' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"exclude","inherit":false},"displayLayout":{"type":"flex","columns":3}} -->
<div class="wp-block-query">
<!-- wp:post-template -->
<!-- wp:group {"style":{"spacing":{"padding":{"top":"30px","right":"30px","bottom":"30px","left":"30px"}}},"layout":{"inherit":false}} -->
<div class="wp-block-group" style="padding-top:30px;padding-right:30px;padding-bottom:30px;padding-left:30px"><!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-excerpt /-->
<!-- wp:post-date /--></div>
<!-- /wp:group -->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->',
);
query-small-posts.php 0000644 00000002230 15044105112 0010664 0 ustar 00 <?php
/**
* Query: Small image and title.
*
* @package WordPress
*/
return array(
'title' => _x( 'Small image and title', 'Block pattern title' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
<div class="wp-block-query">
<!-- wp:post-template -->
<!-- wp:columns {"verticalAlignment":"center"} -->
<div class="wp-block-columns are-vertically-aligned-center"><!-- wp:column {"verticalAlignment":"center","width":"25%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:25%"><!-- wp:post-featured-image {"isLink":true} /--></div>
<!-- /wp:column -->
<!-- wp:column {"verticalAlignment":"center","width":"75%"} -->
<div class="wp-block-column is-vertically-aligned-center" style="flex-basis:75%"><!-- wp:post-title {"isLink":true} /--></div>
<!-- /wp:column --></div>
<!-- /wp:columns -->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->',
);
query-standard-posts.php 0000644 00000001450 15044105112 0011357 0 ustar 00 <?php
/**
* Query: Standard.
*
* @package WordPress
*/
return array(
'title' => _x( 'Standard', 'Block pattern title' ),
'blockTypes' => array( 'core/query' ),
'categories' => array( 'query' ),
'content' => '<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":false}} -->
<div class="wp-block-query">
<!-- wp:post-template -->
<!-- wp:post-title {"isLink":true} /-->
<!-- wp:post-featured-image {"isLink":true,"align":"wide"} /-->
<!-- wp:post-excerpt /-->
<!-- wp:separator -->
<hr class="wp-block-separator"/>
<!-- /wp:separator -->
<!-- wp:post-date /-->
<!-- /wp:post-template -->
</div>
<!-- /wp:query -->',
);
social-links-shared-background-color.php 0000644 00000001667 15044105112 0014345 0 ustar 00 <?php
/**
* Social links with a shared background color.
*
* @package WordPress
* @since 5.8.0
* @deprecated 6.7.0 This pattern is deprecated. Please use the Social Links block instead.
*/
return array(
'title' => _x( 'Social links with a shared background color', 'Block pattern title' ),
'categories' => array( 'buttons' ),
'blockTypes' => array( 'core/social-links' ),
'viewportWidth' => 500,
'content' => '<!-- wp:social-links {"customIconColor":"#ffffff","iconColorValue":"#ffffff","customIconBackgroundColor":"#3962e3","iconBackgroundColorValue":"#3962e3","className":"has-icon-color"} -->
<ul class="wp-block-social-links has-icon-color has-icon-background-color"><!-- wp:social-link {"url":"https://wordpress.org","service":"wordpress"} /-->
<!-- wp:social-link {"url":"#","service":"chain"} /-->
<!-- wp:social-link {"url":"#","service":"mail"} /--></ul>
<!-- /wp:social-links -->',
);
|