toolset-dave
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Divi 5 compatibility
Iniciado por: toolset-dave en: Toolset Professional Support |
1 | 2 | hace 1 mes, 3 semanas | ||
Function for validation of featured image
Iniciado por: toolset-dave
en: 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 | hace 1 año, 1 mes | ||
Site is Experiencing a Technical Issue
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 4 | hace 3 años, 3 meses | ||
Split: Issue using the new Divi 4.0 Theme Builder
Iniciado por: toolset-dave en: Toolset Professional Support |
3 | 11 | hace 5 años, 1 mes | ||
Divi Theme Builder
Iniciado por: toolset-dave
en: 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 | hace 5 años, 3 meses | ||
Custom field in Permalink
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 2 | hace 5 años, 3 meses | ||
Search term in Search Results
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 8 | hace 5 años, 3 meses | ||
Toolset Maps causing problem in Content Templates
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 6 | hace 5 años, 3 meses | ||
How to hide sorting options when there are no items to be shown
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 9 | hace 5 años, 4 meses | ||
Map – hover icon for marker
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 3 | hace 5 años, 4 meses | ||
How to check if the parent post is empty
Iniciado por: toolset-dave
en: 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 | hace 5 años, 5 meses | ||
Description of Checkbox
Iniciado por: toolset-dave
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 6 | hace 5 años, 7 meses | ||
After saving changes to Content Template the assignment will be lost
Iniciado por: toolset-dave
en: 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 | hace 5 años, 8 meses | ||
Warnings after PHP 7.3 update
1
2
Iniciado por: toolset-dave
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
3 | 17 | hace 5 años, 8 meses | ||
Error after saving changes in Layout
Iniciado por: toolset-dave en: Toolset Professional Support |
2 | 7 | hace 5 años, 8 meses |