Making WordPress.org


Ignore:
Timestamp:
11/25/2014 08:49:42 PM (9 years ago)
Author:
obenland
Message:

WP.org Themes: Make theme previews work.

  • Consolidates data handling for index and single.
  • Makes Previews play nicely with Modals.
  • Streamlines some UI aspects between Previews and Modals.
File:
1 edited

Legend:

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

    r1001 r1006  
    77    <div class="theme-screenshot blank"></div>
    88    <# } #>
    9     <span class="more-details"><?php _ex( 'More Info', 'theme' ); ?></span>
    10     <div class="theme-author"><?php printf( __( 'By %s' ), '{{ data.author }}' ); ?></div>
    11     <h3 class="theme-name">{{ data.name }}</h3>
     9    <span class="more-details "><?php _ex( 'More Info', 'theme' ); ?></span>
     10    <div class="theme-author"><?php printf( __( 'By %s' ), '<span class="author">{{ data.author }}</span>' ); ?></div>
     11    <h3 class="theme-name entry-title">{{ data.name }}</h3>
    1212
    1313    <div class="theme-actions">
Note: See TracChangeset for help on using the changeset viewer.