CoreFiles by mySites.guru
cta-search.php22 lines, 1,471 bytes, from wordpress-7.2-RC4.zip
Raw History Compare with 7.2-RC3
md5
cbb0d773942dd705368093ea6b0a81b9
sha1
6b2a0afeae9c2093572507b3bf9b5cef08bd985c
sha256
bbc987dc0ec9b5e9a516626809ff1fde345a026d8e28f2c6d4f329ffdcf7f977
<?php
/**
 * Title: Search Call to Action
 * Slug: ipsum/cta-search
 * Categories: call-to-action
 * Viewport width: 1280
 * Description: A search invitation, with a display heading over the search field.
 *
 * @package Ipsum
 * @since Ipsum 1.0
 */

?>
<!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'CTA Search', 'Name of the search call to action group', 'ipsum' ); ?>"},"style":{"spacing":{"blockGap":"var:preset|spacing|50","padding":{"top":"var:preset|spacing|80","bottom":"var:preset|spacing|80"}}},"layout":{"type":"constrained"}} -->
<div class="wp-block-group" style="padding-top:var(--wp--preset--spacing--80);padding-bottom:var(--wp--preset--spacing--80)"><!-- wp:group {"metadata":{"name":"<?php echo esc_html_x( 'CTA Search Wrapper', 'Name of the group holding the search call to action heading and field', 'ipsum' ); ?>"},"layout":{"type":"default"}} -->
<div class="wp-block-group"><!-- wp:heading {"fontSize":"xx-large"} -->
<h2 class="wp-block-heading has-xx-large-font-size"><?php esc_html_e( 'Find the post you half-remember.', 'ipsum' ); ?></h2>
<!-- /wp:heading -->

<!-- wp:search {"label":"<?php esc_attr_e( 'Search', 'ipsum' ); ?>","showLabel":false,"placeholder":"<?php esc_attr_e( 'A word you remember…', 'ipsum' ); ?>","buttonText":"<?php esc_attr_e( 'Search', 'ipsum' ); ?>","ariaLabel":"<?php echo esc_attr_x( 'Posts', 'Accessible name of the search form', 'ipsum' ); ?>"} /--></div>
<!-- /wp:group --></div>
<!-- /wp:group -->

No other release has this exact content. See every version of this file.