H2 "Add New" buttons for the main screens

git-svn-id: https://develop.svn.wordpress.org/trunk@11554 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2009-06-12 03:20:16 +00:00
parent 5e00b58077
commit 4f1b61b10d
8 changed files with 14 additions and 7 deletions

View File

@@ -96,7 +96,7 @@ else
<div class="wrap">
<?php screen_icon(); ?>
<h2><?php echo esc_html( $title );
<h2><?php echo esc_html( $title ); ?> <a href="post-new.php" class="button add-new-h2"><?php esc_html_e('Add New'); ?></a> <?php
if ( isset($_GET['s']) && $_GET['s'] )
printf( '<span class="subtitle">' . __('Search results for &#8220;%s&#8221;') . '</span>', esc_html( get_search_query() ) ); ?>
</h2>