Rita
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 |
---|---|---|---|---|---|
Get product custom field data and save to order custom field
Started by: Rita
in: Toolset Professional Support
Problem: Solution: With this hook, it has the product_id and based on the product ID, you can get the value of your custom field and it also offers the psot_id. So, what if you try to use the hook and based on the product_id get the value of your desired custom field and then assign it to your post based on the post_id. Relevant Documentation: |
2 | 8 | 2 years, 10 months ago | ||
Email notifications sent from CRED forms logged as sent but never received
Started by: Rita
in: Toolset Professional Support
Problem: Solution: define( 'TOOLSET_FORMS_NOTIFICATIONS_DISABLE_QUEUE', true ); Or add the following line to your child theme's functions.php file: add_filter( 'cred_notifications_disable_queue', '__return_true' ); |
3 | 6 | 3 years ago | ||
Filter view to only display posts published yesterday
Started by: Rita in: Toolset Professional Support |
2 | 5 | 3 years, 2 months ago | ||
make single select taxonomy a required field in post form
Started by: Rita in: Toolset Professional Support |
2 | 4 | 3 years, 2 months ago | ||
Focus on marker button doesn't work for repeating address field
Started by: Rita in: Toolset Professional Support |
2 | 5 | 3 years, 4 months ago | ||
Filter view between post dates compared with shortcode attributes
Started by: Rita
in: Toolset Professional Support
Problem: I have an odd thing happening with one of my views that should get posts that are published between two publish dates. The dates are set by a shortcode attribute and a custom date field set by the current page (post). It works fine for any set of dates EXCEPT if the date range crosses over from one month to the next month. Solution: It is a limitation of WP_Query, when the report-start "day" value is larger than the report-end "day" value, it will conduct the problem you mentioned above. In your case, I suggest you setup the View filter with wpv_filter_query filter hook, for example: Relevant Documentation: https://toolset.com/documentation/programmer-reference/views-filters/#wpv_filter_query https://developer.wordpress.org/reference/classes/wp_query/#date-parameters |
2 | 3 | 3 years, 5 months ago | ||
Sort view of products by woo price
Started by: Rita in: Toolset Professional Support |
2 | 6 | 3 years, 7 months ago | ||
Only display parent posts that have children with a custom field value
1
2
Started by: Rita in: Toolset Professional Support |
3 | 29 | 3 years, 8 months ago | ||
Errors on Views import…
Started by: Rita in: Toolset Professional Support |
2 | 6 | 3 years, 9 months ago | ||
group view results by parent post and then by a custom date field
Started by: Rita in: Toolset Professional Support |
2 | 7 | 3 years, 11 months ago | ||
View not showing from inside the wysiwyg field
Started by: Rita in: Toolset Professional Support |
2 | 4 | 3 years, 11 months ago | ||
Views within a view within a view loads too slow
Started by: Rita in: Toolset Professional Support |
2 | 12 | 3 years, 12 months ago | ||
Set the value of a toolset custom field when a woocommerce order is created
Started by: Rita
in: Toolset Professional Support
Problem: I would like to set the value of a custom field automatically whenever a WooCommerce Order is created from the front-end of the site. Solution: Use a custom code snippet with the save_post hook to programmatically set the custom field value: function tssupp_set_select_value_1 ( $post_id, $post, $update ) { $field_slug = 'custom-field-slug'; $forced_value = '1'; $post_type_slug = 'shop_order'; // you should not edit anything below this line // - bail on wrong post type or on update $post_type = get_post_type( $post_id ); if ( $post_type !== $post_type_slug || $update ) { return; } update_post_meta( $post_id, 'wpcf-' . $field_slug, $forced_value ); } // 1688213: Automatically select custom field value when order is created add_action( 'save_post', 'tssupp_set_select_value_1', 100, 3); |
2 | 3 | 4 years, 5 months ago | ||
After previous or next pagination link scroll to the top of the div not the page
Started by: Rita in: Toolset Professional Support |
2 | 4 | 4 years, 6 months ago | ||
set value of child post taxonomy form field by the current page post taxonomy
Started by: Rita in: Toolset Professional Support |
2 | 8 | 4 years, 11 months ago |