Making WordPress.org


Ignore:
Timestamp:
02/09/2024 03:15:54 AM (2 years ago)
Author:
dd32
Message:

Plugin Directory: Allow tags to be filtered by taxonomies.

This adjusts the styles and templates to simplify the behaviour, allowing for an "empty" archive to be displayed.

Closes https://github.com/WordPress/wordpress.org/pull/198.
See #7430.

File:
1 edited

Legend:

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

    r6284 r13196  
    2323    if ( have_posts() ) :
    2424        if ( is_home() && ! is_front_page() ) :
    25         ?>
    26         <header>
    27             <h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
    28         </header>
    29         <?php
     25            ?>
     26            <header>
     27                <h1 class="page-title screen-reader-text"><?php single_post_title(); ?></h1>
     28            </header>
     29            <?php
    3030        endif;
    3131
     
    3939        the_posts_pagination();
    4040
    41         else :
    42             get_template_part( 'template-parts/content', 'none' );
    43         endif;
     41    else :
     42        get_template_part( 'template-parts/no-results' );
     43    endif;
    4444    ?>
    4545
Note: See TracChangeset for help on using the changeset viewer.