Rita
Admite hilos creados en los últimos 30 días: 1
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
shortcode to get an image url from third party plugin
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 10 | hace 3 años, 3 meses | |
Get product custom field data and save to order custom field
Iniciado por: Rita
en: 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 | hace 3 años, 3 meses | |
Email notifications sent from CRED forms logged as sent but never received
Iniciado por: Rita
en: 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 | hace 3 años, 6 meses | |
Filter view to only display posts published yesterday
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 5 | hace 3 años, 8 meses | |
make single select taxonomy a required field in post form
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 4 | hace 3 años, 8 meses | |
Focus on marker button doesn't work for repeating address field
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 5 | hace 3 años, 10 meses | |
Filter view between post dates compared with shortcode attributes
Iniciado por: Rita
en: 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 | hace 3 años, 11 meses | |
Sort view of products by woo price
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 6 | hace 4 años, 1 mes | |
Only display parent posts that have children with a custom field value
1
2
Iniciado por: Rita en: Toolset Professional Support |
|
3 | 29 | hace 4 años, 2 meses | |
Errors on Views import…
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 6 | hace 4 años, 3 meses | |
group view results by parent post and then by a custom date field
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 7 | hace 4 años, 5 meses | |
View not showing from inside the wysiwyg field
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 4 | hace 4 años, 5 meses | |
Views within a view within a view loads too slow
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 12 | hace 4 años, 5 meses | |
Set the value of a toolset custom field when a woocommerce order is created
Iniciado por: Rita
en: 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 | hace 4 años, 11 meses | |
After previous or next pagination link scroll to the top of the div not the page
Iniciado por: Rita en: Toolset Professional Support |
|
2 | 4 | hace 4 años, 12 meses |