Looping custom posts types
On my home page, I would like to have a section on the page where I loop out team members that have been created with CPT UI and ACF Pro.
Is this possible? If not why? If you can't do this I would like to suggest that your marketing is a bit misleading by saying Brizy works with ACF and dynamic content.
From what I can see so far from playing around is that ACF and looping content is limited.
Also, there should be a way of using custom post type content in the carousel and other widgets, again, these seem to only work with normal posts, unless I am missing something?
This is easily done with Kadence Blocks, Elementor.
How can we build advanced sites if these features don't work yet?
-
Hi,
Yes, it is possible to display the Custom posts created with ACF in the pages. To display all team members you have on a page, you have to:
1 - Add a Custom Taxonomy in the Custom Post Type https://jmp.sh/NDirFk9;
2 - Create a Taxonomy in the CPT, for example, I created the "new-set" taxonomy https://jmp.sh/VbgbRze;
3 - After this go to all CPT and add them to this newly created taxonomy (for example, for all CPT I set the "new-set" taxonomy) https://jmp.sh/zFuatE1;
4 - Go to Pages and create a new page (or open the page where you want to display all CPT Team Members);
5 - Edit it with Brizy (this step is for the situation when the page isn't created if the page is already created, open the Brizy editor);
6 - Inside this page add the Posts element;
7 - For the Posts element, select for showing the posts from the custom taxonomy, in my example, I selected the "new-set" https://jmp.sh/2dUko16.Important! Check and make sure that in the Posts element you are using the Custom fields https://jmp.sh/u0NzcUv.
Best regards,
Sandra0 -
Thanks that is really helpful
0 -
Hi,
It's my pleasure to help you!
Let us know if we can help you with something else.Best regards,
Sandra0 -
Hey Sandra,
please make custom post types also available for the carousel widget. We can only select default post's categories there.Ah sorry, just found out that adding a custom taxonomy for this cpt as mentioned above did the trick!
Thanks,
Daniel
0
Please sign in to leave a comment.
Comments
4 comments