• Hi,

    The site is at https://mefreeforall.org/wp/

    I have a front page, and a category set up called Jokes, showing in the Features widget.

    Everything I post appears on the front page as well as the jokes category but I don’t want any of the posts to appear in Jokes. So I uncheck the Jokes category box in Edit Post and as soon as I save it the box automatically rechecks itself! How do I stop this please?

    Much appreciated,

    Tim C

    Bristol, UK

Viewing 3 replies - 1 through 3 (of 3 total)
  • Did you rename the ‘Uncategorized’ category to ‘Jokes’? Is it set as your default category(/wp-admin/options-writing.php)?

    If yes, then I’m pretty sure that you’ll need to create a new default category since WP requires each post to have at least one category.

    Thread Starter denizente

    (@denizente)

    Thanks, this helped. I must have changed uncategorised to jokes which would explain the problem, and have now created a default category (named as Default).

    However I am now stuck with 2 front pages – one called Home and another called Default, and only want the one Home page.

    Obviously I want to turn the clock back and reinstate Uncategorized – is there any way to do that?

    NB How do I find /wpadmin/options-writing.php? Do I need to go into mySQL or something?

    Sorry for being so ignorant & thanks for help,

    TC

    If you’re using WP 3.0 or newer you can create a custom menu at /wp-admin/nav-menus.php.

    If not, you can change your theme’s header.php file (line 98) and function.php file (line 1056) from:

    wp_list_categories('title_li=');
    
    and
    
    wp_list_categories('title_li=&depth=1&number=5');

    to

    wp_list_categories('exclude=7&title_li=');
    
    and
    
    wp_list_categories('exclude=7&title_li=&depth=1&number=5');

    The exclude=7 bit will exclude category id 7 (Default in your case) from being displayed.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Cannot uncheck category in post’ is closed to new replies.