sakoele
New Member
I learned that if you want to open a page that shows content from a CPT you have to use a custom link that uses the CPT slug. Like mypage.com/news if the CPT slug is "news".
Now I wonder:
How can I use two or more different templates that all pull different parts of contents from one CPT? Like a template that uses the news 01-05 and a template that uses the news 06-10 if the CPT has 10 custom news content fields.
Or in other words: If I can only directly link to the CPT slug how can I tell wordpress to adress different templates that load different contents from the same CPT?
Thanks
Sascha
Now I wonder:
How can I use two or more different templates that all pull different parts of contents from one CPT? Like a template that uses the news 01-05 and a template that uses the news 06-10 if the CPT has 10 custom news content fields.
Or in other words: If I can only directly link to the CPT slug how can I tell wordpress to adress different templates that load different contents from the same CPT?
Thanks
Sascha