CSS Web
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 |
---|---|---|---|---|---|
ADA for Select field
Started by: CSS Web in: Toolset Professional Support |
2 | 4 | 1 month, 3 weeks ago | ||
ACF URL filed for link
Started by: CSS Web
in: Toolset Professional Support
Problem: The user wants to use a URL value contained in an ACF URL field within a Toolset View to create a link with the post title. Solution: Create a custom shortcode to retrieve the URL value from the ACF field. add_shortcode('get_url_by_field', 'get_url_by_field_fn'); function get_url_by_field_fn( $atts ) { $data = shortcode_atts( array( 'field' => '' ), $atts ); if(!empty($atts['field']) && $atts['field'] === 'durl') { $url = get_field('durl'); if($url) { return esc_url($url); // Always escape and validate URLs } } } Usage within the Toolset View: <p style="font-weight:bold; font-size: 1.3em; margin-bottom: 0;"> <a href="[get_url_by_field field='durl']">[wpv-post-title]</a> </p> This shortcode retrieves the URL value from the ACF field named 'durl' and generates a link with the post title. Make sure to replace 'durl' with the actual name of your ACF URL field. Relevant Documentation: Toolset Views: https://toolset.com/documentation/user-guides/views/ |
2 | 6 | 10 months, 2 weeks ago | ||
Captions for scaled images are failing.
Started by: CSS Web in: Toolset Professional Support |
2 | 8 | 2 years, 10 months ago | ||
Date/Time … conditional display based on ???
Started by: CSS Web in: Toolset Professional Support |
2 | 2 | 3 years, 1 month ago | ||
Captions – display
Started by: CSS Web
in: Toolset Professional Support
Problem: Solution: |
3 | 12 | 3 years, 2 months ago | ||
Toolset Blocks | Loop Style: Grid | Equal Heights?
Started by: CSS Web in: Toolset Professional Support |
2 | 7 | 4 years, 5 months ago | ||
Conditional for empty field value
Started by: CSS Web
in: Toolset Professional Support
Problem: I would like to use conditional HTML to display a list element, but only if the "title" custom field is blank. Solution: Use the following conditional format to prevent extra list elements from being displayed if the field is blank: [wpv-conditional if="( $(wpcf-title) ne '' )"] <li>[types field='title'][/types]</li> [/wpv-conditional] Relevant Documentation: |
2 | 7 | 4 years, 6 months ago | ||
Bulk Import
Started by: CSS Web in: Toolset Professional Support |
2 | 6 | 4 years, 6 months ago |