Add Copy to the Add New Tag (or other Taxonomy) Page

Maybe you need to add some extra text to the page to explain to a user why they should take a minute to spellcheck their new category or tag. Or perhaps you want to want to encourage them to check if a certain category already exists as a plural or singular from. You can add this extra copy in at least 2 places on the various taxonomy admin pages.

add_action( 'after-' . 'category' . '-table', 'copy_below_table' );
function copy_below_table( $taxonomy ) {
    echo '<p>Lorem ipsum</p>';
}

add_action( 'category' . '_pre_add_form', 'copy_above_form' );
function copy_above_form( $taxonomy ) {
    echo '<p>Dolor sit amet</p>';
}

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: