Quantcast
Channel: Toolset » All Posts
Viewing all articles
Browse latest Browse all 20145

Understanding Content Views with Two CTP

$
0
0

I been trying to wrap my head around the best setup for my situation…

Types created 2 CPT: Church and Pastor

Church is parent and Pastor is child in the setup.

I have created 1 church and 1 child and the relationship works great. Now I want to be able to create a view that shows the Pastor image, Language he speaks and email in a DIV to the left and a DIV to the right shows his Church Name, Church Address, Website

I created a Content Template for the CPT.

Now when I add the following, the top is from the Pastor section and when I view a church I don´t see that content all I see is the Church Info: addresse, denomination and branche.

Is this the best way to setup this relationship to view?

[wpv-post-title]

[types field="nom" output="raw"][/types]
[types field="prenom" output="raw"][/types]
[types field="email" output="raw"][/types]

[types field="adresse" output="raw"][/types]
[types field="denomitation" output="raw"][/types]
[types field="branche" output="raw"][/types]

I can send access to the site to see this if needed.


Viewing all articles
Browse latest Browse all 20145

Trending Articles