Kacey
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 |
---|---|---|---|---|---|
Add images to radio button options
Started by: Kacey
in: Toolset Professional Support
Problem: I would like to show a custom field in the wp-admin area that allows admins to select from several predefined images. Solution: It's possible to use HTML in the label input for each radio field option. So you could include an image tag in the label and it would show up in the backend post editor next to the radio button. You don't have a lot of options for managing the styles in wp-admin, though. See img-tag.png for an example of the post field editor. |
2 | 4 | 3 years, 6 months ago | ||
Invalid Site Key Error
Started by: Kacey in: Toolset Professional Support |
2 | 10 | 5 years, 5 months ago | ||
Change author attribution on CRED form-submitted content
Started by: Kacey
in: Toolset Professional Support
Problem: Solution: You can find proposed solution in this case with the following reply: Relevant Documentation: |
2 | 3 | 6 years, 10 months ago | ||
Clusters not breaking apart despite cluster max zoom setting
Started by: Kacey in: Toolset Professional Support |
2 | 8 | 6 years, 11 months ago | ||
migrate radio to checkboxes
Started by: Kacey in: Toolset Professional Support |
2 | 2 | 6 years, 11 months ago | ||
Disable full editor function for front-end post content submission
Started by: Kacey in: Toolset Professional Support |
2 | 2 | 6 years, 12 months ago | ||
error at top of CRED form with conditional outputs – patch already applied
Started by: Kacey in: Toolset Professional Support |
2 | 3 | 7 years ago | ||
CRED Form Error
Started by: Kacey in: Toolset Professional Support |
3 | 5 | 7 years ago | ||
Creating related view– showing post as related to itself
Started by: Kacey
in: Toolset Professional Support
Problem: I have a View that lists posts. I have two Query Filters applied to the View: Solution: <div class="col-sm-8">[wpv-view name="related-posts-for-featured-view" ids="[wpv-post-id]"]</div> Relevant Documentation: https://toolset.com/documentation/user-guides/passing-arguments-to-views/ |
2 | 5 | 7 years ago | ||
Validate either mailto or url in custom url field
Started by: Kacey
in: Toolset Professional Support
Problem: Solution: So I recommend you to please use 2 separate fields for this purpose that is the easier approach. |
3 | 9 | 7 years ago | ||
Conditional output in archive
Started by: Kacey in: Toolset Professional Support |
1 | 2 | 7 years ago | ||
manually select posts to show in view, and related posts by category
Started by: Kacey
in: Toolset Professional Support
Problem: When editing a post in wp-admin, I would like to be able to manually select related posts and have those show up in a View on the single post page. Solution: There is not currently an easy way to associate posts of the same post type in wp-admin. Toolset does not provide the ability to select from other posts in a custom field, so the management of these associations is manual. You can use a custom taxonomy or custom field to create these relationships. A detailed explanation can be found in another ticket here on the forum: https://toolset.com/forums/topic/need-to-create-a-custom-field-that-shows-links-to-related-posts-of-the-same-type/ |
2 | 3 | 7 years ago | ||
Choose random image from custom field
Started by: Kacey
in: Toolset Professional Support
Problem: Solution: // shortcode to count number of repeating field instances and generate random number add_shortcode( 'generate-rand-num', 'generate_rand_num_func' ); function generate_rand_num_func($atts) { $tot_instance = sizeof(get_post_meta( get_the_ID(), 'wpcf-' . $atts['field'], false )) - 1; return rand(0, $tot_instance); } 2. Register shortcode & function first ‘generate-rand-num’ in Toolset >> Settings >> Front-end Content >> Third-party shortcode arguments. And also in >> Functions inside conditional evaluations section. Screenshot here: https://d7j863fr5jhrr.cloudfront.net/wp-content/uploads/2017/11/584750-register.png?x99441 3. And use following shortcode in Content Template: [types field='slider-images' index="[generate-rand-num field='slider-images']"][/types] >> Replace ‘slider-images’ with your repeating image field name. |
2 | 4 | 7 years ago | ||
query filter by “has featured image” on view?
Started by: Kacey
in: Toolset Professional Support
Problem: Solution: add_filter('wpv_filter_query', 'show_featured', 10, 3); function show_featured($query, $view_settings,$view_id ) { if($view_id == 999) //replace view ID { $query['meta_key'] = '_thumbnail_id'; } return $query; } Relevant Documentation: |
2 | 3 | 7 years ago | ||
Conditional display on custom fields is not saving
Started by: Kacey
in: Toolset Professional Support
Problem: Solution: |
2 | 3 | 7 years ago |