Wordpress Post Parent

limez

Senior Member
Joined
Apr 7, 2014
Messages
1,084
Reaction score
305
Just wondering, is there a way to add a new post and the parent of this will be the old post?

For example:

Code:
https://website.com/category/parent-post/child-post

Parent post is just a normal WP post
Child post is another normal WP post but under parent post
 
Anyone?
 
To my knowledge, no (unless there's a plugin) and/or you use something such as your .htaccess with rewrite rules. This response is specifically to POSTS.

If you're looking to have that URL structure out of the box, you'd want to create PAGES.
 
There sure is but you'll have to mess with the code.

I did a little searching for ya and found this. I think it is what you want.

Personally, I wouldn't even bother with posts and do pages, so easy with them.

If your issue is that you already have ton of posts and need to organize them, you can use plugin like Post Type Switcher to turn them into pages easily.
 
Back
Top