Changeset 3009 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/plugin-card.php
- Timestamp:
- 04/26/2016 07:33:28 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/plugin-card.php
r2998 r3009 1 <?php 2 namespace WordPressdotorg\Plugin_Directory\Theme; 3 use WordPressdotorg\Plugin_Directory\Template; 4 5 ?> 1 6 <div class="plugin-card"> 2 7 <div class="plugin-card-top"> 3 8 4 9 <a href="<?php the_permalink(); ?>" class="plugin-icon"> 5 <?php echo WordPressdotorg\Plugin_Directory\Template::get_plugin_icon( $post->post_name, 'html' ); ?>10 <?php echo Template::get_plugin_icon( $post->post_name, 'html' ); ?> 6 11 </a> 7 12 <div class="name column-name"> … … 16 21 <div class="plugin-card-bottom"> 17 22 <div class="vers column-rating"> 18 <?php 19 if ( function_exists( 'wporg_get_dashicons_stars' ) ) { 20 echo wporg_get_dashicons_stars( get_post_meta( $post->ID, 'rating', true ) ); 21 } 22 ?> 23 <?php echo Template::dashicons_stars( get_post_meta( $post->ID, 'rating', true ) ); ?> 23 24 </div> 24 25 <div class="column-updated"> … … 26 27 </div> 27 28 <div class="column-installs"> 28 <?php echo worg_plugins_template_active_installs( true); ?>29 <?php echo Template::active_installs(); ?> 29 30 </div> 30 31 <div class="column-compatibility">
Note: See TracChangeset
for help on using the changeset viewer.