Skip Navigation

[Resolved] Build Taxonomy Archive Page with Divi Builder

This thread is resolved. Here is a description of the problem and solution.

Problem: I would like to create a taxonomy archive that shows information about the current term, including some custom fields, outside the loop of posts. I would also like to include some information about the term, including custom fields, inside the loop. I would like to build this page with Divi Builder.

Solution: Create a WordPress Archive for this taxonomy. Create two Content Templates - one for the content above the loop (Content Template 1) and one for the content in the loop (Content Template 2).

Edit Content Template 1 with Divi Builder. Insert shortcodes to display information about the current term, including custom fields. There is currently a bug in the beta plugins that prevents you from inserting term fields in a WordPress Archive directly.

Edit Content Template 2 with Divi Builder. Insert shortcodes to display the information about each post in the loop. If you need to display information about the current term, use the wpv-taxonomy-archive shortcode:

[types field="image-field-slug" id="[wpv-taxonomy-archive info='id']"][/types]

Relevant Documentation:
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-taxonomy-archive
https://toolset.com/documentation/customizing-sites-using-php/functions/

This support ticket is created 6 years, 11 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 17 replies, has 2 voices.

Last updated by Silvia 6 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#613940

Chris, thank you so much for all your help!
Now I am working on the CSS to make the page presentable, but I have learned a great deal with your help.
The only thing I need to understand now is why the icon (now perfectly visibile), when resized to a smaller size, displays a black background, although it's a transparent png. Do you have any idea?
Thank you again!

New threads created by Christian Cox and linked to this one are listed below:

https://toolset.com/forums/topic/split-transparent-png-image-has-a-black-background-when-resized/

#613973

I don't have a quick answer for your transparent PNG question, so I created a separate ticket where we can investigate further.

#613974

Chris,
thank you very much for your precious help. In my opinion the ticket can be closed, if not for the problem you have escalated to 2nd tier, regarding Taxonomy terms not showing up in "FIELDS AND VIEWS". Thank you again.