Problem: I would like to display the title of my custom taxonomy, and I would like it to be translated into all languages.
Solution: We do not currently offer a shortcode to display the translated taxonomy title. Instead, you can use the wpml-string shortcode to wrap any string, so it can be translated in WPML String Translation.
Problem: I would like to create a Product Category archive that lists the top level categories with links to those category archives. On those archives, I would like to show a list of subcategories as well as a list of products in the current category (but not in the subcategories).
Solution:
- Create a View of Products (View 1), filtered by Product Category term, set by the current archive page. (step-1.png)
- In the Loop Output of View 1, insert a post title with link shortcode to link to the Product page.
- Create a View of the taxonomy Product Categories (View 2). Filter this View by taxonomy parent, where the term parent is None.
- In the Loop Output of View 2, insert a taxonomy link shortcode.
- Duplicate View 2 (call it View 3). Change the Query Filter to filter by term parent, set by the current taxonomy archive page.
- In the Loop Output editor of View 3, Replace the "No items found" text with View 1.
- Create a Layout for Product Categories ( Product Listing Layout ) and insert a WordPress Archive cell
- In the WordPress Archive Loop Output editor, remove the contents of the wpv-loop tag. Insert View 3 just above the wpv-loop tag.
- Create a custom Page and insert View 2.
- Add the following code to your child theme's functions.php file:
The issue here Content of shortcodes with curly brackets is not displayed with Divi and Divi Builder.
Solution:
Normally this is caused by a plugin conflict and such I would recommend that you temporarily disable all your non-toolset plugins and try again. If the issue still remains then please open a new support ticket so it can be investigated
Solution:
The code is correct. If using a plugin to add such custom code (rather than the theme's functions.php file) that it is set to run in the correct environment, i.e. in this case in the admin pages.