Make WordPress Core


Ignore:
Timestamp:
12/31/2007 06:39:43 PM (18 years ago)
Author:
ryan
Message:

Theme tagging from andy. fixes #5545

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/themes.php

    r6334 r6530  
    4141    <p><?php printf(__('All of this theme&#8217;s files are located in <code>%2$s</code>.'), $ct->title, $ct->template_dir, $ct->stylesheet_dir); ?></p>
    4242<?php } ?>
     43<?php if ( $ct->tags ) : ?>
     44<p><?php _e('Tags:'); ?> <?php echo join(', ', $ct->tags); ?></p>
     45<?php endif; ?>
    4346</div>
    4447
     
    6366    $screenshot = $themes[$theme_name]['Screenshot'];
    6467    $stylesheet_dir = $themes[$theme_name]['Stylesheet Dir'];
     68    $tags = $themes[$theme_name]['Tags'];
    6569    $activate_link = wp_nonce_url("themes.php?action=activate&amp;template=".urlencode($template)."&amp;stylesheet=".urlencode($stylesheet), 'switch-theme_' . $template);
    6670?>
     
    7579
    7680<p><?php echo $description; ?></p>
     81<?php if ( $tags ) : ?>
     82<p><?php _e('Tags:'); ?> <?php echo join(', ', $tags); ?></p>
     83<?php endif; ?>
    7784</div>
    7885<?php } // end foreach theme_names ?>
Note: See TracChangeset for help on using the changeset viewer.