Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/wp-content/themes/twentysixteen/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
register_block_pattern(
'twentysixteen/call-to-action',
array(
'title' => __( 'Call to Action', 'twentysixteen' ),
'title' => __( 'Call to action', 'twentysixteen' ),
'categories' => array( 'twentysixteen' ),
'content' => '<!-- wp:spacer -->
<div style="height:100px" aria-hidden="true" class="wp-block-spacer"></div>
Expand Down
8 changes: 4 additions & 4 deletions src/wp-content/themes/twentytwenty/inc/block-patterns.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
*/
if ( function_exists( 'register_block_pattern' ) ) {

// Call to Action.
// Call to action.
register_block_pattern(
'twentytwenty/call-to-action',
array(
'title' => esc_html__( 'Call to Action', 'twentytwenty' ),
'title' => esc_html__( 'Call to action', 'twentytwenty' ),
'categories' => array( 'twentytwenty' ),
'viewportWidth' => 1400,
'content' => implode(
Expand All @@ -54,11 +54,11 @@
)
);

// Double Call to Action.
// Double call to action.
register_block_pattern(
'twentytwenty/double-call-to-action',
array(
'title' => esc_html__( 'Double Call to Action', 'twentytwenty' ),
'title' => esc_html__( 'Double Call to action', 'twentytwenty' ),
'categories' => array( 'twentytwenty' ),
'viewportWidth' => 1400,
'content' => implode(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<div class="wp-block-buttons">
<!-- wp:button -->
<div class="wp-block-button">
<a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'About us', 'Call to Action button text', 'twentytwentyfour' ); ?></a>
<a class="wp-block-button__link wp-element-button"><?php echo esc_html_x( 'About us', 'Call to action button text', 'twentytwentyfour' ); ?></a>
</div>
<!-- /wp:button -->
</div>
Expand Down
Loading