Making WordPress.org


Ignore:
Timestamp:
03/11/2024 03:11:46 AM (7 months ago)
Author:
dd32
Message:

wporg-plugins-2024: Inherit the new wide layout.
See https://github.com/WordPress/pattern-directory/issues/634

File:
1 edited

Legend:

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

    r13250 r13303  
    1111?>
    1212
    13 <div id="primary" class="content-area">
    14     <main id="main" class="site-main" role="main">
     13<main id="main" class="site-main alignwide" role="main">
    1514
    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 -->
     15<header class="page-header">
     16    <?php
     17    the_archive_title( '<h1 class="page-title">', '</h1>' );
     18    the_archive_description( '<div class="taxonomy-description">', '</div>' );
     19    ?>
     20</header><!-- .page-header -->
    2221
    23     <?php
    24     /* Start the Loop */
    25     while ( $wp_query->have_posts() ) {
    26         the_post();
     22<?php
     23/* Start the Loop */
     24while ( $wp_query->have_posts() ) {
     25    the_post();
    2726
    28         get_template_part( 'template-parts/plugin' );
    29     }
     27    get_template_part( 'template-parts/plugin' );
     28}
    3029
    31     if ( ! have_posts() ) {
    32         get_template_part( 'template-parts/no-results' );
    33     }
     30if ( ! have_posts() ) {
     31    get_template_part( 'template-parts/no-results' );
     32}
    3433
    35     the_posts_pagination();
     34the_posts_pagination();
    3635
    37     ?>
     36?>
    3837
    39     </main><!-- #main -->
    40 </div><!-- #primary -->
     38</main><!-- #main -->
Note: See TracChangeset for help on using the changeset viewer.