Making WordPress.org

Changeset 13244


Ignore:
Timestamp:
02/23/2024 06:10:22 AM (2 months ago)
Author:
dufresnesteven
Message:

wporg-plugins-2024: Blockify many of the template files.

Location:
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024
Files:
38 added
6 deleted
19 edited
2 copied

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/archive.php

    r13196 r13244  
    1 <?php
    2 /**
    3  * The template for displaying archive pages.
    4  *
    5  * @link https://codex.wordpress.org/Template_Hierarchy
    6  *
    7  * @package WordPressdotorg\Plugin_Directory\Theme
    8  */
    9 
    10 namespace WordPressdotorg\Plugin_Directory\Theme;
    11 
    12 // If we don't have any posts to display for the archive, then send a 404 status. See #meta4151
    13 if ( ! have_posts() ) {
    14     status_header( 404 );
    15     nocache_headers();
    16 }
    17 
    18 get_header(); ?>
    19 
    20     <div id="primary" class="content-area">
    21         <main id="main" class="site-main" role="main">
    22 
    23         <header class="page-header">
    24             <?php
    25             the_archive_title( '<h1 class="page-title">', '</h1>' );
    26             the_archive_description( '<div class="taxonomy-description">', '</div>' );
    27             ?>
    28         </header><!-- .page-header -->
    29 
    30         <?php
    31         /* Start the Loop */
    32         while ( have_posts() ) :
    33             the_post();
    34 
    35             /*
    36                 * Include the Post-Format-specific template for the content.
    37                 * If you want to override this in a child theme, then include a file
    38                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
    39                 */
    40             get_template_part( 'template-parts/plugin' );
    41 
    42         endwhile;
    43         if ( ! have_posts() ) {
    44             get_template_part( 'template-parts/no-results' );
    45         }
    46 
    47         the_posts_pagination();
    48 
    49         ?>
    50 
    51         </main><!-- #main -->
    52     </div><!-- #primary -->
    53 
    54 <?php
    55 get_footer();
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/functions.php

    r13239 r13244  
    1515
    1616// Block Files
     17require_once( __DIR__ . '/src/blocks/archive-page/index.php' );
     18require_once( __DIR__ . '/src/blocks/filter-bar/index.php' );
    1719require_once( __DIR__ . '/src/blocks/front-page/index.php' );
     20require_once( __DIR__ . '/src/blocks/search-page/index.php' );
     21require_once( __DIR__ . '/src/blocks/single-page/index.php' );
     22
     23// Block Configs
     24require_once( __DIR__ . '/inc/block-config.php' );
    1825
    1926/**
     
    8188    wp_style_add_data( 'wporg-style', 'rtl', 'replace' );
    8289
     90    wp_enqueue_style( 'wporg-parent-2021-style', get_theme_root_uri() . '/wporg-parent-2021/build/style.css', [ 'wporg-global-fonts' ] );
     91    wp_enqueue_style( 'wporg-parent-2021-block-styles', get_theme_root_uri() . '/wporg-parent-2021/build/block-styles.css', [ 'wporg-global-fonts' ] );
     92
    8393    // Make jQuery a footer script.
    8494    wp_scripts()->add_data( 'jquery', 'group', 1 );
     
    8696    wp_scripts()->add_data( 'jquery-migrate', 'group', 1 );
    8797
    88     wp_enqueue_script( 'wporg-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20181209', true );
    89     wp_enqueue_script( 'wporg-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
     98    wp_enqueue_script( 'wporg-navigation', get_stylesheet_directory_uri() . '/js/navigation.js', array(), '20181209', true );
     99    wp_enqueue_script( 'wporg-skip-link-focus-fix', get_stylesheet_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true );
    90100
    91101    if ( is_singular( 'plugin' ) ) {
     
    478488 */
    479489require get_stylesheet_directory() . '/inc/template-tags.php';
    480 
    481 function register_patterns() {
    482     require get_stylesheet_directory() . '/patterns/nav.php';
    483 }
    484 add_action( 'init',  __NAMESPACE__ . '\register_patterns' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/package.json

    r13239 r13244  
    88  "scripts": {
    99    "watch:css": "grunt watch",
    10     "watch:js": "wp-scripts start",
     10    "watch:js": "wp-scripts start --webpack-copy-php",
    1111    "watch": "concurrently \"npm run watch:js\" \"npm run watch:css\"",
    1212    "build:css": "grunt build",
    1313    "build:js": "wp-scripts build --webpack-copy-php",
    14    
    1514    "build": "npm run build:css && npm run build:js",
    1615    "format:js": "wp-scripts format client",
     
    2827    "@lodder/grunt-postcss": "3.1.1",
    2928    "@wordpress/browserslist-config": "4.1.2",
    30     "@wordpress/scripts": "22.2.1",
     29    "@wordpress/scripts": "27.2.0",
    3130    "autoprefixer": "10.4.3",
    3231    "concurrently": "7.0.0",
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/page.php

    r6284 r13244  
    3030
    3131<?php
    32 get_footer();
     32echo do_blocks( '<!-- wp:wporg/global-footer /-->' );
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/parts/header.html

    r13240 r13244  
    1 <!-- wp:wporg/global-header /-->
     1<!-- wp:wporg/global-header {"style":{"border":{"bottom":{"color":"var:preset|color|white-opacity-15","style":"solid","width":"1px"}}}} /-->
    22
    33<!-- wp:pattern {"slug":"wporg-plugins-2024/nav"} /-->
     4
     5<!-- wp:wporg/filter-bar /-->
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/patterns/nav.php

    r13240 r13244  
    1010?>
    1111
    12 <!-- wp:wporg/local-navigation-bar {"backgroundColor":"charcoal-1","style":{"position":{"type":"sticky"},"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} -->
     12<!-- wp:wporg/local-navigation-bar {"className":"has-display-contents","backgroundColor":"charcoal-2","style":{"elements":{"link":{"color":{"text":"var:preset|color|white"},":hover":{"color":{"text":"var:preset|color|white"}}}}},"textColor":"white","fontSize":"small"} -->
    1313<!-- wp:site-title {"level":0,"fontSize":"small"} /-->
    1414
    1515    <!-- wp:navigation {"menuSlug":"plugins","overlayBackgroundColor":"charcoal-1","overlayTextColor":"white","icon":"menu","layout":{"type":"flex","orientation":"horizontal"},"style":{"spacing":{"blockGap":"24px"}},"fontSize":"small"} /-->
    1616<!-- /wp:wporg/local-navigation-bar -->
    17 
    18 <!-- wp:group {"align":"full","style":{"spacing":{"padding":{"top":"18px","bottom":"18px","left":"var:preset|spacing|edge-space","right":"var:preset|spacing|edge-space"}}},"backgroundColor":"white","layout":{"type":"flex","flexWrap":"wrap","justifyContent":"space-between"}} -->
    19 <div class="wp-block-group alignfull has-white-background-color has-background" style="padding-top:18px;padding-right:var(--wp--preset--spacing--edge-space);padding-bottom:18px;padding-left:var(--wp--preset--spacing--edge-space)"><!-- wp:wporg/site-breadcrumbs {"fontSize":"small"} /--></div>
    20 <!-- /wp:group -->
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/block.json

    r13240 r13244  
    22    "$schema": "https://schemas.wp.org/trunk/block.json",
    33    "apiVersion": 2,
    4     "name": "wporg/front-page",
     4    "name": "wporg/archive-page",
    55    "version": "0.1.0",
    6     "title": "Front Page Content",
     6    "title": "Archive Page Content",
    77    "category": "design",
    88    "icon": "",
    9     "description": "A block that displays the front page content",
     9    "description": "A block that displays the archive page content",
    1010    "textdomain": "wporg",
    1111    "attributes": {},
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/index.php

    r13240 r13244  
    77 */
    88
    9 namespace WordPressdotorg\Theme\Plugins_2024\FrontPage;
     9namespace WordPressdotorg\Theme\Plugins_2024\ArchivePage;
    1010
    1111add_action( 'init', __NAMESPACE__ . '\init' );
     
    1919 */
    2020function init() {
    21     register_block_type( __DIR__ . '/../../../build/blocks/front-page' );
     21    register_block_type( __DIR__ . '/../../../js/build/blocks/archive-page' );
    2222}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/archive-page/render.php

    r13240 r13244  
    11<?php
    2 use WordPressdotorg\Plugin_Directory\Template;
    32
    4 var_dump('ok');
    5 $sections = array(
    6     'blocks'    => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
    7     'featured'  => __( 'Featured Plugins', 'wporg-plugins' ),
    8     'beta'      => __( 'Beta Plugins', 'wporg-plugins' ),
    9     'favorites' => __( 'My Favorites', 'wporg-plugins' ),
    10     'popular'   => __( 'Popular Plugins', 'wporg-plugins' ),
    11 );
     3global $wp_query;
    124
    13 $widget_args = array(
    14     'before_title' => '<h2 class="widget-title">',
    15     'after_title'  => '</h2>',
    16 );
     5// If we don't have any posts to display for the archive, then send a 404 status. See #meta4151
     6if ( ! $wp_query->have_posts() ) {
     7    status_header( 404 );
     8    nocache_headers();
     9}
    1710
    18 get_header();
    1911?>
    2012
    21     <main id="main" class="site-main" role="main">
     13    <div id="primary" class="content-area">
     14        <main id="main" class="site-main" role="main">
     15
     16        <header class="page-header">
     17            <?php
     18            the_archive_title( '<h1 class="page-title">', '</h1>' );
     19            the_archive_description( '<div class="taxonomy-description">', '</div>' );
     20            ?>
     21        </header><!-- .page-header -->
    2222
    2323        <?php
    24         foreach ( $sections as $browse => $section_title ) :
    25             // Only logged in users can have favorites.
    26             if ( 'favorites' === $browse && ! is_user_logged_in() ) {
    27                 continue;
    28             }
     24        /* Start the Loop */
     25        while ( $wp_query->have_posts() ) :
     26            the_post();
    2927
    30             $section_args = array(
    31                 'post_type'      => 'plugin',
    32                 'posts_per_page' => 4,
    33                 'browse'         => $browse,
    34                 'post_status'    => 'publish',
    35             );
     28            /*
     29                * Include the Post-Format-specific template for the content.
     30                * If you want to override this in a child theme, then include a file
     31                * called content-___.php (where ___ is the Post Format name) and that will be used instead.
     32                */
     33            get_template_part( 'template-parts/plugin' );
    3634
    37             if ( 'popular' === $browse ) {
    38                 $section_args['meta_key'] = '_active_installs';
    39                 $section_args['orderby']  = 'meta_value_num';
    40                 unset( $section_args['browse'] );
    41             } else if ( 'blocks' === $browse ) {
    42                 $section_args['orderby'] = 'rand';
    43                 $section_args['meta_query'] = [
    44                     [
    45                         'key'     => '_active_installs',
    46                         'value'   => 200,
    47                         'type'    => 'numeric',
    48                         'compare' => '>=',
    49                     ],
    50                     [
    51                         'key'     => 'tested',
    52                         'value'   => Template::get_current_major_wp_version() - 0.2,
    53                         'compare' => '>=',
    54                     ],
    55                 ];
    56             }
     35        endwhile;
     36        if ( ! have_posts() ) {
     37            get_template_part( 'template-parts/no-results' );
     38        }
    5739
    58             $section_query = new \WP_Query( $section_args );
     40        the_posts_pagination();
    5941
    60             // If the user doesn't have any favorites, omit the section.
    61             if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
    62                 continue;
    63             }
    64             ?>
     42        ?>
    6543
    66             <section class="plugin-section">
    67                 <header class="section-header">
    68                     <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
    69                     <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
    70                         <?php
    71                         printf(
    72                             /* translators: %s: Section title as an accessibility text for screen readers. */
    73                             esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
    74                             '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
    75                         );
    76                         ?>
    77                     </a>
    78                 </header>
    79 
    80                 <?php
    81                 while ( $section_query->have_posts() ) :
    82                     $section_query->the_post();
    83 
    84                     get_template_part( 'template-parts/plugin', 'index' );
    85                 endwhile;
    86                 ?>
    87             </section>
    88 
    89         <?php endforeach; ?>
    90 
    91     </main><!-- #main -->
    92 
    93     <aside id="secondary" class="widget-area" role="complementary">
    94         <?php
    95         the_widget( 'WP_Widget_Text', array(
    96             'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
    97             'text'  => sprintf(
    98                 /* translators: URL to Developers page. */
    99                 __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
    100                 esc_url( home_url( 'developers' ) )
    101             ),
    102         ), $widget_args );
    103 
    104         the_widget( 'WP_Widget_Text', array(
    105             'title' => __( 'Create a Plugin', 'wporg-plugins' ),
    106             'text'  => sprintf(
    107                 /* translators: URL to Developer Handbook. */
    108                 __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
    109                 esc_url( 'https://developer.wordpress.org/plugins/' )
    110             ),
    111         ), $widget_args );
    112 
    113         the_widget( 'WP_Widget_Text', array(
    114             'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
    115             'text'  => sprintf(
    116                 /* translators: URL to make/plugins site. */
    117                 __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team&#8217;s blog</a>.', 'wporg-plugins' ),
    118                 esc_url( 'https://make.wordpress.org/plugins/' )
    119             ),
    120         ), $widget_args );
    121         ?>
    122     </aside><!-- #secondary -->
     44        </main><!-- #main -->
     45    </div><!-- #primary -->
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/index.php

    r13240 r13244  
    1919 */
    2020function init() {
    21     register_block_type( __DIR__ . '/../../../build/blocks/front-page' );
     21    register_block_type( __DIR__ . '/../../../js/build/blocks/front-page' );
    2222}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/front-page/render.php

    r13240 r13244  
    22use WordPressdotorg\Plugin_Directory\Template;
    33
    4 var_dump('ok');
    54$sections = array(
    65    'blocks'    => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
     
    1615);
    1716
    18 get_header();
    1917?>
    2018
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/block.json

    r13240 r13244  
    22    "$schema": "https://schemas.wp.org/trunk/block.json",
    33    "apiVersion": 2,
    4     "name": "wporg/front-page",
     4    "name": "wporg/search-page",
    55    "version": "0.1.0",
    6     "title": "Front Page Content",
     6    "title": "Search Page Content",
    77    "category": "design",
    88    "icon": "",
    9     "description": "A block that displays the front page content",
     9    "description": "A block that displays the search page content",
    1010    "textdomain": "wporg",
    1111    "attributes": {},
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/index.php

    r13240 r13244  
    77 */
    88
    9 namespace WordPressdotorg\Theme\Plugins_2024\FrontPage;
     9namespace WordPressdotorg\Theme\Plugins_2024\SearchPage;
    1010
    1111add_action( 'init', __NAMESPACE__ . '\init' );
     
    1919 */
    2020function init() {
    21     register_block_type( __DIR__ . '/../../../build/blocks/front-page' );
     21    register_block_type( __DIR__ . '/../../../js/build/blocks/search-page' );
    2222}
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/src/blocks/search-page/render.php

    r13240 r13244  
    11<?php
    2 use WordPressdotorg\Plugin_Directory\Template;
     2global $wp_query;
    33
    4 var_dump('ok');
    5 $sections = array(
    6     'blocks'    => __( 'Block-Enabled Plugins', 'wporg-plugins' ),
    7     'featured'  => __( 'Featured Plugins', 'wporg-plugins' ),
    8     'beta'      => __( 'Beta Plugins', 'wporg-plugins' ),
    9     'favorites' => __( 'My Favorites', 'wporg-plugins' ),
    10     'popular'   => __( 'Popular Plugins', 'wporg-plugins' ),
    11 );
    12 
    13 $widget_args = array(
    14     'before_title' => '<h2 class="widget-title">',
    15     'after_title'  => '</h2>',
    16 );
    17 
    18 get_header();
    194?>
    205
    21     <main id="main" class="site-main" role="main">
     6<header class="page-header">
     7            <h1 class="page-title">
     8                <?php
     9                printf(
     10                    /* translators: Search query. */
     11                    esc_html__( 'Showing results for: %s', 'wporg-plugins' ),
     12                    '<strong>' . get_search_query() . '</strong>'
     13                );
     14                ?>
     15            </h1>
     16            <?php
     17            if ( get_query_var( 'block_search' ) ) {
     18                printf(
     19                    /* translators: %s: Search URL */
     20                    '<p>' . __( 'Searching the block directory. <a href="%s">Search all plugins</a>.', 'wporg-plugins' ) . '</p>',
     21                    remove_query_arg( 'block_search' )
     22                );
     23            }
     24            ?>
     25        </header><!-- .page-header -->
    2226
    2327        <?php
    24         foreach ( $sections as $browse => $section_title ) :
    25             // Only logged in users can have favorites.
    26             if ( 'favorites' === $browse && ! is_user_logged_in() ) {
    27                 continue;
    28             }
     28        /* Start the Loop */
     29        while ( have_posts() ) :
     30            the_post();
    2931
    30             $section_args = array(
    31                 'post_type'      => 'plugin',
    32                 'posts_per_page' => 4,
    33                 'browse'         => $browse,
    34                 'post_status'    => 'publish',
    35             );
     32            get_template_part( 'template-parts/plugin', 'index' );
     33        endwhile;
    3634
    37             if ( 'popular' === $browse ) {
    38                 $section_args['meta_key'] = '_active_installs';
    39                 $section_args['orderby']  = 'meta_value_num';
    40                 unset( $section_args['browse'] );
    41             } else if ( 'blocks' === $browse ) {
    42                 $section_args['orderby'] = 'rand';
    43                 $section_args['meta_query'] = [
    44                     [
    45                         'key'     => '_active_installs',
    46                         'value'   => 200,
    47                         'type'    => 'numeric',
    48                         'compare' => '>=',
    49                     ],
    50                     [
    51                         'key'     => 'tested',
    52                         'value'   => Template::get_current_major_wp_version() - 0.2,
    53                         'compare' => '>=',
    54                     ],
    55                 ];
    56             }
     35        if ( ! have_posts() ) {
     36            get_template_part( 'template-parts/no-results' );
     37        }
    5738
    58             $section_query = new \WP_Query( $section_args );
     39        the_posts_pagination();
    5940
    60             // If the user doesn't have any favorites, omit the section.
    61             if ( 'favorites' === $browse && ! $section_query->have_posts() ) {
    62                 continue;
    63             }
    64             ?>
    65 
    66             <section class="plugin-section">
    67                 <header class="section-header">
    68                     <h2 class="section-title"><?php echo esc_html( $section_title ); ?></h2>
    69                     <a class="section-link" href="<?php echo esc_url( home_url( "browse/$browse/" ) ); ?>">
    70                         <?php
    71                         printf(
    72                             /* translators: %s: Section title as an accessibility text for screen readers. */
    73                             esc_html_x( 'See all %s', 'plugins', 'wporg-plugins' ),
    74                             '<span class="screen-reader-text">' . esc_html( $section_title ) . '</span>'
    75                         );
    76                         ?>
    77                     </a>
    78                 </header>
    79 
    80                 <?php
    81                 while ( $section_query->have_posts() ) :
    82                     $section_query->the_post();
    83 
    84                     get_template_part( 'template-parts/plugin', 'index' );
    85                 endwhile;
    86                 ?>
    87             </section>
    88 
    89         <?php endforeach; ?>
    90 
    91     </main><!-- #main -->
    92 
    93     <aside id="secondary" class="widget-area" role="complementary">
    94         <?php
    95         the_widget( 'WP_Widget_Text', array(
    96             'title' => __( 'Add Your Plugin', 'wporg-plugins' ),
    97             'text'  => sprintf(
    98                 /* translators: URL to Developers page. */
    99                 __( 'The WordPress Plugin Directory is the largest directory of free and open source WordPress plugins. Find out how to <a href="%s">host your plugin</a> on WordPress.org.', 'wporg-plugins' ),
    100                 esc_url( home_url( 'developers' ) )
    101             ),
    102         ), $widget_args );
    103 
    104         the_widget( 'WP_Widget_Text', array(
    105             'title' => __( 'Create a Plugin', 'wporg-plugins' ),
    106             'text'  => sprintf(
    107                 /* translators: URL to Developer Handbook. */
    108                 __( 'Building a plugin has never been easier. Read through the <a href="%s">Plugin Developer Handbook</a> to learn all about WordPress plugin development.', 'wporg-plugins' ),
    109                 esc_url( 'https://developer.wordpress.org/plugins/' )
    110             ),
    111         ), $widget_args );
    112 
    113         the_widget( 'WP_Widget_Text', array(
    114             'title' => __( 'Stay Up-to-Date', 'wporg-plugins' ),
    115             'text'  => sprintf(
    116                 /* translators: URL to make/plugins site. */
    117                 __( 'Plugin development is constantly changing with each new WordPress release. Keep up with the latest changes by following the <a href="%s">Plugin Review Team&#8217;s blog</a>.', 'wporg-plugins' ),
    118                 esc_url( 'https://make.wordpress.org/plugins/' )
    119             ),
    120         ), $widget_args );
    12141        ?>
    122     </aside><!-- #secondary -->
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/style.css

    r13239 r13244  
    55Author URI: https://wordpress.org
    66Description: Theme for the WordPress.org Plugin Directory.
    7 Version: 1
     7Version: 1.0.1
    88License: GNU General Public License v2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
    1010Text Domain: wporg-plugins
     11Template: wporg-parent-2021
    1112
    1213This theme, like WordPress, is licensed under the GPL.
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/template-parts/no-results.php

    r13196 r13244  
    1313    <p><?php esc_html_e( 'Please try again with some different keywords.', 'wporg-plugins' ); ?></p>
    1414    <?php
    15         get_search_form();
     15        echo do_blocks( '<!-- wp:search /-->');
    1616
    1717elseif ( is_tax( 'plugin_section', 'favorites' ) ) :
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/front-page.html

    r13240 r13244  
    1 <!-- wp:template-part {"slug":"header"} /-->
     1<!-- wp:wporg/global-header /-->
    22
    33<!-- wp:group {"align":"full","style":{"spacing":{"blockGap":"0px"}}} -->
    44<div class="wp-block-group alignfull">
    5 
     5    <!-- wp:pattern {"slug":"wporg-plugins-2024/front-page-header"} /-->
     6    <!-- wp:wporg/filter-bar /-->   
    67    <!-- wp:wporg/front-page /-->
    78</div>
    89<!-- /wp:group -->
    910
    10 <!-- wp:template-part {"slug":"footer"} /-->
     11<!-- wp:wporg/global-footer /-->
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/templates/index.html

    r13240 r13244  
    1 sdfs
     1silence
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins-2024/theme.json

    r13240 r13244  
    22    "$schema": "https://schemas.wp.org/trunk/theme.json",
    33    "version": 2,
    4     "settings": {}
     4    "settings": {
     5        "layout": {
     6            "contentSize": "960px",
     7            "wideSize": "1220px"
     8        }
     9    }
    510}
Note: See TracChangeset for help on using the changeset viewer.