Display content from two different CPTs in one template
-
Is there a way to pull content from two different CPT pods and blend it together by using one single custom template?
If both CPT pods use a common Custom Taxonomy pod, can my template ‘find’ content based on the Custom Taxonomy pod rather than the CPT pods?
I’ve been using templates which pull from a single CPT pod:
$xyz = pods('my_cpt_pod', $params);
Can I ‘find’ content from a Custom Taxonomy pod instead, using a similar method:
$abc = pods('my_custom_taxonomy_pod', $params);
Is there a better way? Any way to blend content from 2 CPT pods?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Display content from two different CPTs in one template’ is closed to new replies.