1

Which files do i edit to make the textarea for tag & cat description bigger?

Or maybe there's an easier way through functions.php to save having to do it every-time i update wp?

Thanks

1 Answer 1

1

Hook onto the edit-tags page and insert some additional styling to adjust the textarea, the ID remains the same for post tags, categories and i think other taxonomies to..

Adjust CSS for taxonomy management page

Example only, tailor to suit you needs.

add_action( 'admin_print_styles-edit-tags.php', 'resize_description_field' );
function resize_description_field() {
    ?>
    <style type="text/css">
        textarea#tag-description { height:300px!important; }
    </style>
    <?php
}

Hope that helps..

2
  • Thanks works well. Also needed textarea#description id for the edit screens.
    – Carpy
    Dec 3, 2010 at 11:01
  • No problem, you're welcome.. ;)
    – t31os
    Dec 3, 2010 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.