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

Richzendy on "get a post from a new template page"

$
0
0

Hi, i don't know how explain this, but i will try:

I have a custom post with a custom template page:

http://www.example.com/calendar/

This works and will show a list from my custom posts named calendar

http://www.example.com/calendar/date1
http://www.example.com/calendar/date2
http://www.example.com/calendar/date3

This Works also and shown events with date1, date3 and date3.

But i want add a new extra field to my custom post named calendar, i created two new pages (stats is a page parent by race but for the moment is not important):

http://www.example.com/stats/race

The race page has a new template page and only shown a list by calendar posts with my new custom field (named stats), and works, the links to each item has this format:

http://www.example.com/stats/race/date1
http://www.example.com/stats/race/date2
http://www.example.com/stats/race/date3

In this moment i get 404 error by each url, i can't use single template page here, how i can show a custom template by each item?, i want only show the stat field to each item in this pages.

Exists other choice to make that?

Any help can be appreciated.


Viewing all articles
Browse latest Browse all 8245

Trending Articles