Forums

WP as CMS – Post Types vs. Categories (1 post)

  1. saltcod
    Member
    Posted 1 year ago #

    Hi All,

    There’s a huge amount of info out there on how to use custom post types, but very little about what the overall approach should be for using WordPress as a CMS.

    The real issue I’ve found is with Permalinks/url structure. Lets use a simple example: Let’s assume I’m running a design shop, and I work on web, print and logo projects, and I have a company blog.

    The Permalink structures I might want to setup are straightforward:

    Blog posts
    /25/01/2011/my-first-blog-post
    /28/01/2011/my-second-blog-post

    Web
    /web/website-for-local-clothing-store
    /web/website-for-local-bakery

    Print
    /print/smith-wedding-invitations
    /print/Thompson-50th-birthday-party

    Logos
    /logos/sailboat-company
    /logos/construction-company

    But I can’t figure out the “proper” or best way to go about this. Do I just use the built in Permalink screen for handling Blog Posts and setup 3 custom post types for web/print/logos? I think this would work, but seems like overkill to me.

    It would be ideal if I could just use categories for each, but the urls don’t persist when you click on individual posts. For example, I could create a Logos category and easily access a list of all logos using category/logos/ but when I actually click on a logo, it would revert to the Blog Post structure.

    IE: Instead of ending up at /logos/sailboat-company I’d end up at 25/01/2011/sailboat-company

    This seems like a straightforward problem, but I’m having a hell of a time figuring out the best way to handle it. I’m really reluctant to create custom post types just to get a url structure I want, when/if out-of-the-box categories can do the work for me.

    With thanks for the advice!

    Terry

Topic Closed

This topic has been closed to new replies.

About this Topic