Making WordPress.org


Ignore:
Timestamp:
07/21/2022 03:47:38 AM (2 years ago)
Author:
dufresnesteven
Message:

Themes: Add pattern preview to theme.

Props courane01, kafleg, poena, adamwoodnz, mtias, tellyworth
See: https://meta.trac.wordpress.org/ticket/5995

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/view-templates/theme-single.php

    r9727 r11983  
    7979                </div><!-- .theme-tags -->
    8080                <# } #>
     81
     82                <div id="theme-patterns-js" class="theme-patterns" style="display: none;">
     83                    <h3><?php _e( 'Patterns:', 'wporg-themes' ); ?></h3>   
     84                    <div id="theme-patterns-grid-js" class="theme-patterns-grid"></div>
     85                    <a id="theme-patterns-button-js" class="theme-patterns-button" href="#" style="display:none"><?php _e( 'Show all patterns', 'wporg-themes' ); ?></a>
     86                </div>
    8187
    8288                <div class="theme-downloads">
Note: See TracChangeset for help on using the changeset viewer.