michaelR-26
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 |
---|---|---|---|---|---|
Social Share Block not working correctly
Started by: michaelR-26 in: Toolset Professional Support |
4 | 15 | 3 years, 7 months ago | ||
Conditional Fields in CRED form based on Taxonomy selected in custom post type
Started by: michaelR-26 in: Toolset Professional Support |
3 | 13 | 4 years ago | ||
Youtube url – related videos
Started by: michaelR-26
in: Toolset Professional Support
Problem: I have a custom URL field that my visitors populate using a front-end Form. The URL is a YouTube video URL, and I would like to display the video in an embedded player with the URL parameter rel=0 attached so no related videos are displayed. However, I do not expect my Users to add the rel=0 parameter when they enter the YouTube URL on the front-end. How can I append the URL parameter programmatically in the template when the video is displayed? Solution: You need a custom shortcode to do this. The following can be used as a guide: add_shortcode( 'no-rel-youtube', 'no_rel_youtube_func' ); function no_rel_youtube_func($atts) { global $post, $wp_embed; $atts = shortcode_atts( array( 'field-slug' => 'your-field-slug', 'post-id' => $post->ID ), $atts ); $field_value = get_post_meta( $atts['post-id'], 'wpcf-' . $atts['field-slug'], true ); return $wp_embed->run_shortcode("[embed width='500' height='300']" . $field_value . "&rel=0[/embed]"); } Replace your-field-slug with the slug of the field containing the URL, and adjust the height and width of the embed shortcode as needed. Render the player with the custom shortcode, like this: [no-rel-youtube][/no-rel-youtube] Relevant Documentation: |
2 | 7 | 4 years ago | ||
Images in tempate do not retain the dynamic link assigned
Started by: michaelR-26 in: Toolset Professional Support |
3 | 4 | 4 years, 2 months ago | ||
Cred Forms Conditional fields wrapped in a conditional field?
Started by: michaelR-26
in: Toolset Professional Support
Problem: Display different content depends on custom field value. Solution: You can try wpv-conditional shortcode, for example: Relevant Documentation: https://toolset.com/documentation/user-guides/views/conditional-html-output-in-views/ |
2 | 6 | 4 years, 3 months ago | ||
how duplicate a blocks view in toolset types
Started by: michaelR-26 in: Toolset Professional Support |
2 | 2 | 4 years, 4 months ago | ||
Adding taxonomy term as a class name in a view
Started by: michaelR-26 in: Toolset Professional Support |
1 | 2 | 4 years, 4 months ago | ||
Charge user for enhanced listing with extra fields
Started by: michaelR-26 in: Toolset Professional Support |
2 | 2 | 4 years, 4 months ago | ||
Split: Save post as draft first. then preview it. then publish it
Started by: michaelR-26 in: Toolset Professional Support |
2 | 3 | 4 years, 5 months ago | ||
Cred form conditional display not working as expected
Started by: michaelR-26
in: Toolset Professional Support
Problem: Display different fields depending on radio field input value. Solution: You can follow our document to setup the conditional codes: Relevant Documentation: https://toolset.com/documentation/programmer-reference/forms/cred-conditional-display-engine/ |
2 | 5 | 4 years, 5 months ago | ||
Only show template’s grouped section if it matches a specific taxonomy term
Started by: michaelR-26
in: Toolset Professional Support
Problem: I would like to hide a grouped section of my template if the post has a specific term in the "Exhibitor Type" taxonomy. Solution: Use conditional blocks and the has_term function built into WordPress to test for specific term slugs. |
2 | 3 | 4 years, 5 months ago | ||
How to remove conditional with blocks inside of it?
Started by: michaelR-26
in: Toolset Professional Support
Problem: Solution: Unfortunately given the make up of the conditional block. It is not possible to delete the block without deleting the additional blocks within it. If you wish to delete the conditional block you must first remove the additional blocks from the conditional block and then delete the conditional block. This way you won't lose your blocks that were in the conditional block. |
2 | 5 | 4 years, 5 months ago | ||
How to add delete post linl/button for users delete post within a view loop?
Started by: michaelR-26 in: Toolset Professional Support |
2 | 3 | 4 years, 5 months ago | ||
Give logged in user access to Media Library but no other admin areas
Started by: michaelR-26
in: Toolset Professional Support
Problem: The Media Library pop up show but they can't do anything. Solution: You need to enable AJAX in the custom codes, for example: if($user_role === 'exhibitor' && ! ( defined( 'DOING_AJAX' ) && DOING_AJAX ) ){ Relevant Documentation: |
1 | 2 | 4 years, 5 months ago | ||
Give logged in user access to Media Library but no other admin areas
Started by: michaelR-26 in: Toolset Professional Support |
1 | 2 | 4 years, 5 months ago |