letusrise
Member
Posted 9 months ago #
I was wondering if its possible to have a default page per post.
Like for example, you have a post named "This is a post."
So the link would look like this.
http://www.domain.com/2011/this-is-a-post/
I want to add a page per post.
http://www.domain.com/2011/this-is-a-post/activities/
Is that possible at all?
Thanks and God Bless!
eryanv
Member
Posted 9 months ago #
Is it possible? Probably.
Has anybody ever created a plugin to do this? I doubt it.
I would imagine that such a plugin would need to hook into a post action to create a page. Because each page's URL is associated with a particular post, you'd probably need to add a rewrite/permalink rule for every post, so that it directs to the right place. You might be able to get away with just one rewrite rule that would work in all cases.
Perhaps if you could explain a bit more what these additional pages would do, we can point you towards an already existing plugin or feature that would allows you to accomplish that.
letusrise
Member
Posted 9 months ago #
You may be looking for a Custom Post Type solution ... have a poke around this site/link for some more ideas: http://themergency.com/generators/wordpress-custom-post-types/