0

I have some posts which do not have any category, by default, wordpress shows them under "Un categorized". Is there any way to stop this? I want those posts under the categories I have in metabox title (list of categories for meta tag, if I select some category, from metabox title, it should come under the selected categories from metabox title). But it saves the posts under "Un categorized"

1
  • What code are you using to generate the metabox? Commented Jan 11, 2013 at 13:15

1 Answer 1

1

All posts have to be associated with at least one category. It might be possible to bypass this requirement but probably doesn't worth the effort.

If you really need to be able to have content without categories then you should create and use a custom post type, with which you can create and use custom taxonomies. It is hard to understand from the question what are you doing with the meta values but it sounds like you are trying to recreate the functionality of custom taxonomies.

5
  • Or simply rename Uncategorized to Categorized (or whatever fits) ;)
    – brasofilo
    Commented Jan 11, 2013 at 14:32
  • My impression is that OP doesn't want to use categories at all but rather an alternative categorizing system Commented Jan 11, 2013 at 14:56
  • Yep, agreed, but the Q is badly formulated. I'd suggest that you add Custom Taxonomy to the Answer as well. Linking to the Codex makes the A more complete. Just realized that almost never I put a summary when linking to the Codex, but maybe it'd be nice too.
    – brasofilo
    Commented Jan 11, 2013 at 15:03
  • ok, added some links. I don't think you can summarize CPT and custom taxonomies without copying the codex... Commented Jan 11, 2013 at 15:21
  • No prob, I should've encapsulated my comment with <opinion>the_comment();</opinion> ;)
    – brasofilo
    Commented Jan 11, 2013 at 15:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.