Making WordPress.org


Ignore:
Timestamp:
03/19/2024 07:01:40 AM (2 years ago)
Author:
dd32
Message:

wporg-plugins-2024: Adopt the button navigation for the section titles.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/render.php

    r13353 r13355  
    1 
    2 <header class="page-header">
    3     <h1 class="page-title">
    4         <?php
    5         printf(
    6             /* translators: Search query. */
    7             esc_html__( 'Showing results for: %s', 'wporg-plugins' ),
    8             '<strong>' . get_search_query() . '</strong>'
    9         );
    10         ?>
    11     </h1>
    12     <?php
    13     if ( get_query_var( 'block_search' ) ) {
    14         printf(
    15             /* translators: %s: Search URL */
    16             '<p>' . __( 'Searching the block directory. <a href="%s">Search all plugins</a>.', 'wporg-plugins' ) . '</p>',
    17             remove_query_arg( 'block_search' )
    18         );
    19     }
    20     ?>
    21 </header><!-- .page-header -->
    22 
    231<?php
    242echo do_blocks( <<<BLOCKS
     3    <!-- wp:navigation {"menuSlug":"section-bar","className":"is-style-button-list","fontSize":"small"} /-->
    254    <!-- wp:wporg/filter-bar /-->
    265    <!-- wp:query {"tagName":"div","className":"plugin-cards"} -->
Note: See TracChangeset for help on using the changeset viewer.