• Resolved Alec Rust

    (@alecrust)


    I’m trying to create this page structure within WordPress:

    - Home                       (http://example.com/)
    - Blog                         (http://example.com/blog/)
        - Blog Post              (http://example.com/blog/blog-post-name/)
    - Projects                    (http://example.com/projects/)
        - Projects Post         (http://example.com/projects/project-post-name/)

    Following the WordPress Codex guide Making Your Blog Appear in a Non-Root Folder I’m able to create this structure:

    - Home                      (http://example.com/)
    - Blog                        (http://example.com/blog/)
        - Blog Post             (http://example.com/blog/blog-post-name/)

    But not the “Projects” section. The Codex documents how to move where your blog sits, but not handle different post types in this way.

    I’m trying to achieve “Blog” page as the index of all “Blog Post” posts, and “Projects” page the index of all “Project Post” posts.

    I haven’t set up my post types yet, since I assume the best way to do it would be based on the way these pages were set up. Any recommendations on that would be appreciated.

Viewing 4 replies - 1 through 4 (of 4 total)
  • I would just use the built in post categories, set the slugs exactly how I want them when I create the categories and then update my permalink settings.

    Thread Starter Alec Rust

    (@alecrust)

    Thanks for that. You think that approach is better than setting the default posts page to “Blog” and setting up a custom “Project” post type?

    I find custom post types are easy to overuse, at least for me. That said, if you need to simplify the editing screen or modify default behavior, ex: add heirarchy, they’re great. If you don’t need to do that, I just like to use the default categories as far as they’ll take me before it becomes easier to write a plugin or add CPTs.

    Thread Starter Alec Rust

    (@alecrust)

    That’s fair enough, thanks for your input.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Creating Sections for Post Types’ is closed to new replies.