toolset-dave
Fils de soutien créés au cours des 30 derniers jours : 1
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Divi 5 compatibility
Commencé par : toolset-dave in: Toolset Professional Support |
1 | 2 | Il y a 1 jour et 17 heures | ||
Function for validation of featured image
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: Validation of the featured image in the Toolset Forms was triggering an error. Solution: The issue was that the PHP function 'getimagesize' expects the param to be an actual object and in the error log you shared this parameter is empty. I deducted that this happened when you try to submit the form without the featured image, then getimagesize will try to check the size of null and error out. I added a check to see if the field _featured_image is set before checking for the size and that fixed the issue. |
2 | 5 | Il y a 1 année | ||
Site is Experiencing a Technical Issue
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 4 | Il y a 3 années et 2 mois | ||
Split: Issue using the new Divi 4.0 Theme Builder
Commencé par : toolset-dave in: Toolset Professional Support |
3 | 11 | Il y a 5 années | ||
Divi Theme Builder
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: Will Toolset add support for the Theme Builder? Solution: No, there isn't such a plan yet Relevant Documentation: |
2 | 3 | Il y a 5 années et 1 mois | ||
Custom field in Permalink
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 2 | Il y a 5 années et 1 mois | ||
Search term in Search Results
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 8 | Il y a 5 années et 1 mois | ||
Toolset Maps causing problem in Content Templates
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 6 | Il y a 5 années et 2 mois | ||
How to hide sorting options when there are no items to be shown
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 9 | Il y a 5 années et 2 mois | ||
Map – hover icon for marker
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 3 | Il y a 5 années et 2 mois | ||
How to check if the parent post is empty
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: The issue here is that the user wanted to check if their post parent is empty. Solution: Add the shortcode below to your site. // Add Shortcode function wp_post_has_content( $atts ) { // Attributes $atts = shortcode_atts( array( 'relationship' => '', ), $atts ); $return = 0; $postid = do_shortcode("[wpv-post-id item='".$atts['relationship']."']"); $object = get_post($postid); if ( empty( $object->post_content ) ) { // return 0 when post's content is empty $return = 0; } else { // return 1 when post's content is not empty $return = 1; } return $return; } add_shortcode( 'has_content', 'wp_post_has_content' ); Add this shortcode to the Toolset custom code section in Toolset -> Settings -> Custom Code. Then from there you need to add the shortcode name "has_content" to 3rd party shortcode arguments in Toolset->Settings->Frontend. The usage of the code is [has_content relationship= "@nemovitost-spolecnosti.parent"] From there you should be able to get the content information. You can use this shortcode in a conditional as well. |
2 | 7 | Il y a 5 années et 3 mois | ||
Description of Checkbox
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 6 | Il y a 5 années et 6 mois | ||
After saving changes to Content Template the assignment will be lost
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: The issue here is that whenever the user is saving a content template that has divi builder assigned to it, the post assignment is lost. Solution: This was actually resolved in the latest version of our views plugins SO if you are experiencing this issue I would recommend updating to the latest available version of views. |
2 | 6 | Il y a 5 années et 6 mois | ||
Warnings after PHP 7.3 update
1
2
Commencé par : toolset-dave
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 17 | Il y a 5 années et 6 mois | ||
Error after saving changes in Layout
Commencé par : toolset-dave in: Toolset Professional Support |
2 | 7 | Il y a 5 années et 7 mois |