Rita
Fils de soutien créés au cours des 30 derniers jours : 1
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
shortcode to get an image url from third party plugin
Commencé par : Rita in: Toolset Professional Support |
|
2 | 10 | Il y a 3 années et 3 mois | |
Get product custom field data and save to order custom field
Commencé par : 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 | Il y a 3 années et 3 mois | |
Email notifications sent from CRED forms logged as sent but never received
Commencé par : 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 | Il y a 3 années et 6 mois | |
Filter view to only display posts published yesterday
Commencé par : Rita in: Toolset Professional Support |
|
2 | 5 | Il y a 3 années et 8 mois | |
make single select taxonomy a required field in post form
Commencé par : Rita in: Toolset Professional Support |
|
2 | 4 | Il y a 3 années et 8 mois | |
Focus on marker button doesn't work for repeating address field
Commencé par : Rita in: Toolset Professional Support |
|
2 | 5 | Il y a 3 années et 10 mois | |
Filter view between post dates compared with shortcode attributes
Commencé par : 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 | Il y a 3 années et 11 mois | |
Sort view of products by woo price
Commencé par : Rita in: Toolset Professional Support |
|
2 | 6 | Il y a 4 années et 1 mois | |
Only display parent posts that have children with a custom field value
1
2
Commencé par : Rita in: Toolset Professional Support |
|
3 | 29 | Il y a 4 années et 2 mois | |
Errors on Views import…
Commencé par : Rita in: Toolset Professional Support |
|
2 | 6 | Il y a 4 années et 3 mois | |
group view results by parent post and then by a custom date field
Commencé par : Rita in: Toolset Professional Support |
|
2 | 7 | Il y a 4 années et 5 mois | |
View not showing from inside the wysiwyg field
Commencé par : Rita in: Toolset Professional Support |
|
2 | 4 | Il y a 4 années et 5 mois | |
Views within a view within a view loads too slow
Commencé par : Rita in: Toolset Professional Support |
|
2 | 12 | Il y a 4 années et 5 mois | |
Set the value of a toolset custom field when a woocommerce order is created
Commencé par : 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 | Il y a 4 années et 11 mois | |
After previous or next pagination link scroll to the top of the div not the page
Commencé par : Rita in: Toolset Professional Support |
|
2 | 4 | Il y a 4 années et 12 mois |