Only post to one category (2 posts)

  1. junap
    Posted 11 years ago #

    I've seen the thread at http://wordpress.org/support/topic/32118 which talks about restricting category posts by user, but what I'm looking for would be more like replacing the multiple checkboxes with a set of radio buttons on the new post's category section, so only one can be chosen. Is there a plugin available that would do that?

  2. Simon Blackbourn
    Posted 10 years ago #

    not sure if you're still reading or not as this topic was started one year ago...anyway, here goes...

    if you're happy to edit core WP files, then the following seems to work for me, although i've only just done it so there may well be undesired side effects that i haven't noticed yet.

    i've edited line 571 of admin-functions.php (this is in WP version 2.0.2). i've replaced the word "checkbox" with the word "radio".

    now a user can only select one category.


Topic Closed

This topic has been closed to new replies.

About this Topic