The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Creating Sections for Post Types (5 posts)

  1. Alec Rust
    Posted 3 years ago #

    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.

  2. Andrew Bartel
    Posted 3 years ago #

    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.

  3. Alec Rust
    Posted 3 years ago #

    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?

  4. Andrew Bartel
    Posted 3 years ago #

    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.

  5. Alec Rust
    Posted 3 years ago #

    That's fair enough, thanks for your input.

Topic Closed

This topic has been closed to new replies.

About this Topic