michaelR-26
Admite hilos creados en los últimos 30 días: 1
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
I am using the all import plugin to import fields from a csv, but during the pro
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
1 | 2 | hace 4 semanas | |
Social Share Block not working correctly
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
4 | 15 | hace 4 años, 1 mes | |
Conditional Fields in CRED form based on Taxonomy selected in custom post type
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
3 | 13 | hace 4 años, 6 meses | |
Youtube url – related videos
Iniciado por: michaelR-26
en: 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 | hace 4 años, 7 meses | |
Images in tempate do not retain the dynamic link assigned
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
3 | 4 | hace 4 años, 8 meses | |
Cred Forms Conditional fields wrapped in a conditional field?
Iniciado por: michaelR-26
en: 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 | hace 4 años, 9 meses | |
how duplicate a blocks view in toolset types
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
2 | 2 | hace 4 años, 10 meses | |
Adding taxonomy term as a class name in a view
Iniciado por: michaelR-26 en: Toolset Professional Support |
1 | 2 | hace 4 años, 10 meses | ||
Charge user for enhanced listing with extra fields
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
2 | 2 | hace 4 años, 10 meses | |
Split: Save post as draft first. then preview it. then publish it
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
2 | 3 | hace 4 años, 11 meses | |
Cred form conditional display not working as expected
Iniciado por: michaelR-26
en: 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 | hace 4 años, 11 meses | |
Only show template’s grouped section if it matches a specific taxonomy term
Iniciado por: michaelR-26
en: 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 | hace 4 años, 11 meses | |
How to remove conditional with blocks inside of it?
Iniciado por: michaelR-26
en: 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 | hace 4 años, 11 meses | |
How to add delete post linl/button for users delete post within a view loop?
Iniciado por: michaelR-26 en: Toolset Professional Support |
|
2 | 3 | hace 4 años, 11 meses | |
Give logged in user access to Media Library but no other admin areas
Iniciado por: michaelR-26
en: 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 | hace 4 años, 11 meses |