Pat
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Conditional output
Iniciado por: Pat
en: Toolset Professional Support
Problem: I need to use this conditional output : define if the current user is author of a "subscription" post and if yes, if the subscription post date is between the "variable" custom fields start-date and end-date. Solution: The client fix it with custom shortcode, see his post: Relevant Documentation: |
3 | 9 | hace 6 años, 7 meses | ||
Repeating fields with term meta
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the user wanted to display each individual fields of a repeatable fields. Solution: This can be done by using our [wpv-for-each] shortcode. [wpv-for-each field="wpcf-my-field"] <div class="col-sm-4 img">[types field="my-field"][/types]</div> [/wpv-for-each] This should allow you to display each individual item of a repeatable field. |
2 | 13 | hace 6 años, 7 meses | ||
Display a taxonomy term meta in a product page
Iniciado por: Pat
en: Toolset Professional Support
Problem: I would like to display taxonomy term meta on a single product page. Solution: |
2 | 3 | hace 6 años, 7 meses | ||
Cred commerce with a product define by a custom field
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: You can find proposed solution, in this case, with the following reply: Relevant Documentation: |
3 | 9 | hace 6 años, 8 meses | ||
Cred generic field does not work with "persist"
Iniciado por: Pat en: Toolset Professional Support |
2 | 17 | hace 6 años, 8 meses | ||
Lightbox on woocommerce product page
Iniciado por: Pat en: Toolset Professional Support |
2 | 15 | hace 6 años, 8 meses | ||
wpv_filter_quert applys to all Views
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the wpv_filter_query function is causing the user's other views to become empty even though they had provided an ID for which view the filter should affect. Solution: The problem with this is that the user had placed the return statement inside the conditional statement for the view to be affected. If the function is returning the value inside the if statement then all view will be affected and be blank. What you need to do is to take the return statement out of the conditional statement and your views will return to normal. A more detailed explanation can be seen here |
2 | 11 | hace 6 años, 8 meses | ||
Views sorted by 2 custom fields
1
2
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the user wanted to sort her view by multiple custom fields. Solution: This can be done by using the custom hook below. add_filter('wpv_filter_query', 'add_custom_fields_to_view_query', 99, 3); function add_custom_fields_to_view_query($query_args, $view_settings, $view_id ) { if ( $view_id == 16257 ){ $meta_query = array(); $meta_query[] = array('key' => 'acf_directory_sort_order'); $meta_query[] = array('key' => 'acf_shipping_city'); if ( !isset($query_args['meta_query']) ){ $query_args['meta_query'] = array(); } $query_args['meta_query'] = array_merge($meta_query, $query_args['meta_query']); add_filter('posts_orderby', 'custom_order'); } return $query_args; } function custom_order($orderby) { global $wpdb; return $wpdb->postmeta.'.meta_value ASC, mt1.meta_value ASC'; } Where you simply need to chance the names of the custom fields in the code that you want to sort by. |
2 | 27 | hace 6 años, 8 meses | ||
WC variable product : Display a price table after choice of variations
Iniciado por: Pat en: Toolset Professional Support |
2 | 3 | hace 6 años, 8 meses | ||
Cannot insert inside a visual editor cell in Layout
Iniciado por: Pat
en: Toolset Professional Support
Problem: The issue here is that the user had some custom js in a script tag and wanted to add it to Layouts. Solution: |
2 | 5 | hace 6 años, 9 meses | ||
cred_save_data : How to write in the database for non std tables
Iniciado por: Pat en: Toolset Professional Support |
2 | 6 | hace 6 años, 9 meses | ||
New EU General Data Protection Regulation impact on plugins like Toolset
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: Actually this responsibility falls on the user of the plugin however some of these plugins can help to allow your users delete users. This can be achieved by setting up some auto user delete with the plugin below. You can also delete the information using this plugin as well |
2 | 2 | hace 6 años, 9 meses | ||
Impossible to create new taxonomy with Types
1
2
Iniciado por: Pat en: Toolset Professional Support |
3 | 18 | hace 6 años, 9 meses | ||
Types plugin displays errors
Iniciado por: Pat en: Toolset Professional Support |
2 | 5 | hace 6 años, 9 meses | ||
[wpv-woo-buy-options] does not work for all product types
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: Documentation: |
3 | 6 | hace 6 años, 9 meses |