Changeset 1001 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php
- Timestamp:
- 11/21/2014 10:04:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/content.php
r887 r1001 1 <?php 2 global $post; 3 $theme = new Repo_Theme_Package($post); 4 ?> 5 <div <?php post_class('theme'); ?> id="post-<?php the_ID(); ?>"> 1 <?php global $theme; ?> 2 <article class="theme"> 6 3 <div class="theme-screenshot"> 7 <img src="<?php echo $theme->screenshot_url(); ?>" alt="">4 <img src="<?php echo esc_url( $theme->screenshot_url ); ?>" alt=""> 8 5 </div> 9 <a href="<?php the_permalink(); ?>"><span class="more-details">Theme Details</span></a> 10 <div class="theme-author">By the TODO Author</div> 11 <h3 class="theme-name"><?php the_title(); ?></h3> 12 </div> 6 <a href="/<?php echo $theme->slug; ?>" class="more-details"><?php _ex( 'More Info', 'theme' ); ?></a> 7 <div class="theme-author"><?php printf( __( 'By %s' ), $theme->author ); ?></div> 8 <h3 class="theme-name"><?php echo $theme->name; ?></h3> 9 10 <div class="theme-actions"> 11 <a class="button button-primary preview install-theme-preview" href="<?php echo esc_url( '//downloads.wordpress.org/theme/' . $theme->slug . '.' . $theme->version . '.zip' ); ?>"><?php esc_html_e( 'Download' ); ?></a> 12 </div> 13 </article>
Note: See TracChangeset
for help on using the changeset viewer.