get a post from a new template page
-
Hi, i don’t know how explain this, but i will try:
I have a custom post with a custom template page:
https://www.example.com/calendar/
This works and will show a list from my custom posts named calendar
https://www.example.com/calendar/date1
https://www.example.com/calendar/date2
https://www.example.com/calendar/date3This 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):
https://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:
https://www.example.com/stats/race/date1
https://www.example.com/stats/race/date2
https://www.example.com/stats/race/date3In 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.
- The topic ‘get a post from a new template page’ is closed to new replies.