Front-end Editor: Version 1.1

Version 1.1 adds a few usability improvements:

Also, it allows you to edit custom taxonomies, just like you would edit post tags. I recommend the Simple Taxonomies plugin for creating custom taxonomies.

Here is a code example:

<?php the_terms($post->ID, 'mytax'); ?>

To make it work in WP 2.8 *, you have to open wp-includes/category-template.php and find the_terms() function. Then, you have to make it look like this:

function the_terms( $id, $taxonomy, $before = '', $sep = ', ', $after = '' ) {
    $term_list = get_the_term_list( $id, $taxonomy, $before, $sep, $after );

    if ( is_wp_error( $term_list ) )
        return false;

    echo apply_filters('the_terms', $term_list, $taxonomy, $before, $sep, $after);
}

___|_
* You don’t have to do this if you’re using WordPress 2.9 or newer (see #10600).

comments powered by Disqus