Applying an existing page as a parent category for posts?

[ad_1]

Apologies for the simple question – I’ve tried googling this a bunch of different ways, but not sure what I’m doing, since Google thinks I want to edit post categories.

So right now all my posts have no structure, they just follow the home page:

site.com/post1

site.com/post2

Etc. I’ve got more than one post type, & want to organise them better – I’ve created a separate landing page for podcast posts, & want these specific types of post to be added onto that. So:

site.com/podcast/ – the landing page that currently exists

site.com/podcast/post1

site.com/podcast/post2

For regular pages this is fine – you just choose the relevant parent category under page attribution. I just can’t figure out how to do this with posts, since the attribution box is missing from the page editor, & the only categorisation options it wants to give me are just tags.

Any advice here would be greatly appreciated, even if it’s just telling me the correct terminology of what I want so I can Google better.

Thanks

[ad_2]
1 Comment
  1. Posts are not hierarchical, so you can not have parent or child posts. Pages are hierarchical which allow page/child relationships as expected.

    You can always create your own Custom Post Type and set it as hierarchical if you’d like, and add things there, but the default posts in WordPress can not have parents, especially pages.

    However it seems like maybe you just in fact want a Category Archive page? Is Podcasts a category? If so, you don’t create a page for that, the category page is built in by default. You may just need to adjust your permalink structure to include the category so it would be [site.com/categoryname/post-name]). At that point, going to [site.com/categoryname/]) will be the category archive page which lists all posts in that category.

    Another option depending on exactly what you’re trying to do. Is you can create a static page as the “home” for your blog posts. You’d have to write your own query or build out the page to show the results, but let’s say you create a page called “Podcasts”. You’d build out your query to show results, then you’d go to Settings -> Reading and set your “Posts Page” to that Podcast page you created. You’d then probably want to adjust your permalinks toa custom structure like /podcasts/%postname% to make sure the slug remains when viewing a post. This is the method I typically use on my custom built sites.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer