Rita
In den letzten 30 Tagen erstellte Support-Threads: 0
Lieblings-Forenthemen
This user has no favorite topics.
Forum Topics Created
Status | Thema | Supporter | Stimmen | Artikel | Aktualität |
---|---|---|---|---|---|
Get product custom field data and save to order custom field
Gestartet von: 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 | vor 3 Jahren, 2 Monaten | |
Email notifications sent from CRED forms logged as sent but never received
Gestartet von: 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 | vor 3 Jahren, 5 Monaten | |
Filter view to only display posts published yesterday
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 5 | vor 3 Jahren, 7 Monaten | |
make single select taxonomy a required field in post form
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 4 | vor 3 Jahren, 7 Monaten | |
Focus on marker button doesn't work for repeating address field
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 5 | vor 3 Jahren, 9 Monaten | |
Filter view between post dates compared with shortcode attributes
Gestartet von: 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 | vor 3 Jahren, 10 Monaten | |
Sort view of products by woo price
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 6 | vor 3 Jahren, 12 Monaten | |
Only display parent posts that have children with a custom field value
1
2
Gestartet von: Rita in: Toolset Professional Support |
|
3 | 29 | vor 4 Jahren, 1 Monat | |
Errors on Views import…
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 6 | vor 4 Jahren, 1 Monat | |
group view results by parent post and then by a custom date field
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 7 | vor 4 Jahren, 4 Monaten | |
View not showing from inside the wysiwyg field
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 4 | vor 4 Jahren, 4 Monaten | |
Views within a view within a view loads too slow
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 12 | vor 4 Jahren, 4 Monaten | |
Set the value of a toolset custom field when a woocommerce order is created
Gestartet von: 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 | vor 4 Jahren, 10 Monaten | |
After previous or next pagination link scroll to the top of the div not the page
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 4 | vor 4 Jahren, 10 Monaten | |
set value of child post taxonomy form field by the current page post taxonomy
Gestartet von: Rita in: Toolset Professional Support |
|
2 | 8 | vor 5 Jahren, 4 Monaten |