Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

Glur4k on "Create static subpage for a custom post type"

$
0
0

Hi,

i'm currently developing a plugin and have created a custom post type named "player".

I want to create two static subpages for every player-post.

Currently i've got the following structure:

xyz.com/team/player1/
xyz.com/team/player2/
xyz.com/team2/player1/
xyz.com/team2/player2/

Is it possible to create the static subpages for every post with given templates without having to create the subpages manually?

So that it looks like:

xyz.com/team/player1/single/
xyz.com/team/player1/double/
xyz.com/team/player2/single/
xyz.com/team/player2/double/
.
.
.

greetings


Viewing all articles
Browse latest Browse all 8245

Trending Articles