By using Elementorforum.com’s services you agree to our Cookies Use and Data Transfer outside the EU.
We and our partners operate globally and use cookies, including for analytics, personalisation, ads and Newsletters.

  • Join the Best Unofficial Elementor Support forum

    Provide or get advice on everything Elementor and Wordpress, ask questions, gain confirmation or just become apart of a friendly, like minded community who love Wordpress and Elementor


    Join us!
elementor official

Question Using multiple templates for one Custom Post Type

sakoele

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
 
elementor official
elementor official
Top