Automatic Parent Category Selection on Subcategory Selection (5 posts)

  1. Blutarsky
    Posted 5 years ago #

    In a previous message, I have been asking how to change an existing category to be a subcategory.

    Once done, posts belonging to a subcategory won't show that the same posts are also belonging to the parent category, although they will be included when listing posts from a parent category, when using the following URL structure:


    I'm asking myself if there's a way to make WP automatically select parent categories when a post is assigned to subcategory

  2. Carsten Bach
    Posted 5 years ago #

    There is a "fast & dirty" plugin doing what you're looking for.

    If anyone knows a way to do that via a frontend call to wp_insert_post too, I'll be happy to know.

  3. Blutarsky
    Posted 5 years ago #

    Does it support 3.1 ??

  4. Carsten Bach
    Posted 5 years ago #

    Don't know. I've tested it on a 3.0.1 and this works fine. The plugin description says it's compatible up to 2.7.

  5. alxvallejo
    Posted 4 years ago #

    It works on 3.2

Topic Closed

This topic has been closed to new replies.

About this Topic