• Is there any plugin that will allow me to limit my guest bloggers to using only one category for their post? Either that or I need a clue on how to replace the category check boxes with radio boxes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Any success? I’m trying to do the same thing here.

    Well… I use WP 2.6.
    I changed this file

    wp-admin/includes/template-orig.php

    at line 181 and it worked

    $output .= "\n<li id='category-$category->term_id'$class>" . '<label for="in-category-' . $category->term_id . '" class="selectit"><input value="' . $category->term_id . '" type="radio" name="post_category[]" id="in-category-' . $category->term_id . '"' . (in_array( $category->term_id, $selected_cats ) ? ' checked="checked"' : "" ) . '/> ' . wp_specialchars( apply_filters('the_category', $category->name )) . '</label>';

    Yeah I changed the core, but hell It will do until I find out how to make a plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Limit One Category per post’ is closed to new replies.