michaelR-26
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Social Share Block not working correctly
Commencé par : michaelR-26 in: Toolset Professional Support |
|
4 | 15 | Il y a 4 années | |
Conditional Fields in CRED form based on Taxonomy selected in custom post type
Commencé par : michaelR-26 in: Toolset Professional Support |
|
3 | 13 | Il y a 4 années et 5 mois | |
Youtube url – related videos
Commencé par : 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 | Il y a 4 années et 5 mois | |
Images in tempate do not retain the dynamic link assigned
Commencé par : michaelR-26 in: Toolset Professional Support |
|
3 | 4 | Il y a 4 années et 7 mois | |
Cred Forms Conditional fields wrapped in a conditional field?
Commencé par : 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 | Il y a 4 années et 8 mois | |
how duplicate a blocks view in toolset types
Commencé par : michaelR-26 in: Toolset Professional Support |
|
2 | 2 | Il y a 4 années et 9 mois | |
Adding taxonomy term as a class name in a view
Commencé par : michaelR-26 in: Toolset Professional Support |
1 | 2 | Il y a 4 années et 9 mois | ||
Charge user for enhanced listing with extra fields
Commencé par : michaelR-26 in: Toolset Professional Support |
|
2 | 2 | Il y a 4 années et 9 mois | |
Split: Save post as draft first. then preview it. then publish it
Commencé par : michaelR-26 in: Toolset Professional Support |
|
2 | 3 | Il y a 4 années et 10 mois | |
Cred form conditional display not working as expected
Commencé par : 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 | Il y a 4 années et 10 mois | |
Only show template’s grouped section if it matches a specific taxonomy term
Commencé par : 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 | Il y a 4 années et 10 mois | |
How to remove conditional with blocks inside of it?
Commencé par : 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 | Il y a 4 années et 10 mois | |
How to add delete post linl/button for users delete post within a view loop?
Commencé par : michaelR-26 in: Toolset Professional Support |
|
2 | 3 | Il y a 4 années et 10 mois | |
Give logged in user access to Media Library but no other admin areas
Commencé par : 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 | Il y a 4 années et 10 mois | |
Give logged in user access to Media Library but no other admin areas
Commencé par : michaelR-26 in: Toolset Professional Support |
1 | 2 | Il y a 4 années et 10 mois |