When editing a post, did you ever want to view the most used Tags tab and not the Tags listing tab. Well here’s the trick. Add this to your themes function.php file.



add_action( 'admin_footer-post-new.php', 'rone_mostused_tags_default_script' );
add_action( 'admin_footer-post.php', 'rone_mostused_tags_default_script' );

function rone_mostused_tags_default_script() {

    $expand_for = array( 'post_tag' ); // add taxonomy names here

    // build a nice jQuery query
    foreach ( $expand_for as &$tax_name ) $tax_name = '#link-'.$tax_name;
    $expand_for = implode( ',', $expand_for );

        <script type="text/javascript">
            jQuery(document).ready(function() {
                jQuery('<?php echo $expand_for; ?>').click();