Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

On my site, I have a 'blog' menu item and a 'portfolio' menu item.

http://richardclunan.com/blog/

http://richardclunan.com/portfolio

I'd like to make it so that when I post a blog post, I can determine whether it appears under 'Blog' or under 'Portfolio'.

Is it possible to do this?

How?

I read that it's possible to do this using categories, but I can't get it to work. So perhaps I'm misunderstanding the instructions.

share|improve this question

1 Answer 1

By default, "Category Archives" (which is what you're describing) are at the URL example.com/category/{category}. I would recommend that you do the following:

  1. Delete your blog and portfolio pages. Don't just trash them, but delete them permanently from your trash (this will free up the permalinks you mention in your post).
  2. Create the two categories, Blog and Portfolio and make sure they have the slugs "blog" and "portfolio."
  3. Download a plugin that can remove the "Category base" that is the /category/ in the example.com URL above. Since it's a great plugin for other reasons, I'd recommend using Yoast's "WordPress SEO" plugin (the setting is found under SEO > Permalinks.

You should now see the two category archives, each displaying posts in the appropriate categories.

You'll also need to go back, delete your two menu items, and add them back your new Categories back into the menu.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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