• commlink

    (@commlink)


    Sorry my english is not great.

    I am trying to adjust wordpress to do the following:

    When post is created I want it to add itself to whatever category the user selects as well as my default category.

    Right now if the user picks a category it only assisgns the post to the select category.

    To be clear the category I want everything added to no matter what the user selects for category is a category we have call ALL.

    For all posts.

    Thanks,
    commlink

Viewing 1 replies (of 1 total)
  • MichaelH

    (@michaelh)

    Why have a category called ALL is my first question?

    But if it has to be a category, then make it the parent category for all your other categories. That way every category, thus every post, is considered a child of ALL.

    By WordPress standards, ANY category that has been designated a Parent category, is not meant to be checked in the Category hierarchy when writing posts. Meaning, only the lastest generation category should be checked.

    It’s okay to have multiple categories assigned a post, as long as the other categories are not designated as parents. Think of it like this, only the youngest generation of a familiy limb gets the action.

Viewing 1 replies (of 1 total)
  • The topic ‘Post related to more then one category’ is closed to new replies.