Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I've created the following view and the following view is set to query post type "Award Programs" to get related award program post:
=> hidden link
And to above view I've added the following "Query Filters:
Filter by post relationship or repeatable fields group owner:
Select posts in a Annual Awards relationship that are related to the Post where this View is shown.
Taxonomy filter:
Select posts with taxonomy:
Award Categories in one of these: Chapter of the Year
AND
Years the same as the page where this View is shown
Where:
- We added the taxonomy filter for taxonomy "Award Categories" to get post where term "Chapter of the Year" is assigned
- We added the taxonomy filter for taxonomy "Years " to get post where term "2023" is assigned so it will be as same where view is shown
Now, with the above view's loop editor, I've added another view:
=> hidden link
[wpv-view name="annual-awards-chapter-profiles" chaptertype="[wpv-attribute name='chaptertype']"]
With the above view's loop editor I've added the chapter title you want to display:
<li> [wpv-post-link item="@award-profile.child"] </li>
Where:
- You are welcome to add any fields that you want to display with above loop editor.
Later in the content tempalte where you added all categories like Small, Large etc..etc:
=> hidden link
I've added the newly created view as given under:
[wpv-view name="get-award-program-id" chaptertype="Small"]
[wpv-view name="get-award-program-id" chaptertype="Medium"]
[wpv-view name="get-award-program-id" chaptertype="Large"]
[wpv-view name="get-award-program-id" chaptertype="International"]
Now if you visit the page I can see the correct results:
=> hidden link
Can you please confirm it works as expected.
My issue is resolved now. Thank you!
One thing about the "How easy was it for you to solve the problem" rating:
My rating is based entirely on Minesh making it super easy to solve my problem. If I were answering for myself (as the problem-solver) I would have chosen the opposite end of the scale because I couldn't solve it, which is why I reached out for help (I just want to make sure I understood what you're looking for me to rate).