toolset-dave
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Function for validation of featured image
Started by: 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 | 11 months, 2 weeks ago | ||
Site is Experiencing a Technical Issue
Started by: toolset-dave in: Toolset Professional Support |
2 | 4 | 3 years, 1 month ago | ||
Split: Issue using the new Divi 4.0 Theme Builder
Started by: toolset-dave in: Toolset Professional Support |
3 | 11 | 4 years, 11 months ago | ||
Divi Theme Builder
Started by: 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 | 5 years ago | ||
Custom field in Permalink
Started by: toolset-dave in: Toolset Professional Support |
2 | 2 | 5 years, 1 month ago | ||
Search term in Search Results
Started by: toolset-dave in: Toolset Professional Support |
2 | 8 | 5 years, 1 month ago | ||
Toolset Maps causing problem in Content Templates
Started by: toolset-dave in: Toolset Professional Support |
2 | 6 | 5 years, 1 month ago | ||
How to hide sorting options when there are no items to be shown
Started by: toolset-dave in: Toolset Professional Support |
2 | 9 | 5 years, 1 month ago | ||
Map – hover icon for marker
Started by: toolset-dave in: Toolset Professional Support |
2 | 3 | 5 years, 2 months ago | ||
How to check if the parent post is empty
Started by: 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 | 5 years, 2 months ago | ||
Description of Checkbox
Started by: toolset-dave
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 6 | 5 years, 5 months ago | ||
After saving changes to Content Template the assignment will be lost
Started by: 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 | 5 years, 5 months ago | ||
Warnings after PHP 7.3 update
1
2
Started by: toolset-dave
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 17 | 5 years, 6 months ago | ||
Error after saving changes in Layout
Started by: toolset-dave in: Toolset Professional Support |
2 | 7 | 5 years, 6 months ago | ||
How to highlight current taxonomy page
Started by: toolset-dave in: Toolset Professional Support |
2 | 3 | 5 years, 6 months ago |