The integration between Toolset and Divi theme makes it easy to add custom content to Divi and display it, on the front-end. You can use Divi Builder with Toolset to design templates for your custom post types and archive pages.
Problem: I'm using Divi theme, and when I activate Toolset Views I am unable to save after editing Divi Theme Options. There is a server error 500 in the browser console after I click "Save". When I deactivate the Views plugin I can save again without errors.
Solution: This appears to be a memory issue, and the following code fixed the problem:
Problem:
Client has a custom WordPress archive, and wants to add some content at the top of the page before the archive loop results.
Solution:
The Loop Output section of the custom archive (and, likewise, a View) is just HTML (with lots of shortcodes that will generate more HTML). The part in between the wpv-loop tags will contain the archive results, but you can place additional markup outside of these, e.g. after the wpv-layout-start shortcode.
The issue here is that the user is using the Woocommerce booking calendars but the calendar is showing on their custom product page.
Solution:
I'm assuming that the booking plugin automatically hooks into the default woocommerce template. Since we are using a custom template then it may not work here.
If the booking plugin provide a shortcode that you can use to manually load the calendar then you should be able to add it to your custom template.
What you can try if you have not already done so is to contact the booking plugin support theme and check to see if there is an alternate method to loading the calendar. If there is then we should be able to use this and load the calendar into your custom template.
Problem: I would like to use CRED to allow my site Users to upload multiple images, and associate those images with CPTs. Some of those CPTs are child posts, some are parents, some are grandparents. What is the best way to associate the images with all levels of the CPT hierarchy?
Solution: It depends on your site's requirements. There are several things to consider.
- It is easier to create custom search filters using custom fields attached to the same post type shown in the View.
- However, it is not possible to use repeating fields in child posts in the current stable version of Types. The new beta M2M features will address some of this issue.
- Taxonomies can be used to relate the images to multiple CPTs, but they must be managed by your Users.
- Galleries and Carousels in Divi Builder have limited options for filtering the results, and it is not possible to use shortcodes as filters. So Divi cannot access custom fields effectively in the Gallery or Carousel module.
- Elementor ACF Gallery modules may or may not work with Types custom fields. Types custom fields are stored in the postmeta table using the previx "wpcf-".