WordPress.org

Ready to get started?Download WordPress

Forums

Is it possible to add a default page per post? (4 posts)

  1. letusrise
    Member
    Posted 3 years 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!

  2. eryanv
    Member
    Posted 3 years 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.

  3. letusrise
    Member
    Posted 3 years ago #

    @eryanv

    Thanks for your response! I was planning to make a movie database just like imdb.com.

    http://www.imdb.com/title/tt1071875/
    http://www.imdb.com/title/tt1071875/fullcredits
    http://www.imdb.com/title/tt1071875/synopsis
    http://www.imdb.com/title/tt1071875/business

    I want to do something like this.

  4. Edward Caissie
    Theme Review Admin
    Posted 3 years 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/

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.