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 |
---|---|---|---|---|---|
List all orders related to a product
1
2
Iniciado por: Pat en: Toolset Professional Support |
2 | 20 | hace 3 años, 4 meses | ||
Conditional output using post availability
Iniciado por: Pat en: Toolset Professional Support |
2 | 10 | hace 3 años, 5 meses | ||
Messages created with Toolset can be visible by Toolset
Iniciado por: Pat
en: Toolset Professional Support
Problem: Disable post type posts from showing up in Google Searches Solution: If you install the Yoast plugin and go to Yoast -> Search Appearances you can disable the post type from appearing in searches. |
2 | 3 | hace 3 años, 5 meses | ||
More than 500 post created with CRED Auto Draft in less than one week !
Iniciado por: Pat en: Toolset Professional Support |
3 | 15 | hace 3 años, 6 meses | ||
Insert a function into a Views
Iniciado por: Pat
en: Toolset Professional Support
Problem: I would like to sort a View using a rating provided by the WP-Postratings plugin. Solution: The rating is available as a postmeta value, which can be operated upon by Views sorting. |
2 | 3 | hace 4 años | ||
How to update Views (other than manually)
Iniciado por: Pat en: Toolset Professional Support |
2 | 3 | hace 4 años, 1 mes | ||
Notification on Cred commerce after post publish
Iniciado por: Pat en: Toolset Professional Support |
3 | 11 | hace 4 años, 1 mes | ||
Conditional output on a date + hour
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 7 | hace 4 años, 1 mes | ||
Combined hook between forms and WC
Iniciado por: Pat en: Toolset Professional Support |
2 | 8 | hace 4 años, 1 mes | ||
order a view with the author last name
1
2
Iniciado por: Pat en: Toolset Professional Support |
2 | 17 | hace 4 años, 1 mes | ||
running a hook on cred_redirect_after_delete_action
Iniciado por: Pat
en: Toolset Professional Support
Problem: Solution: We suggest using a Post Edit form that will change the status of the post to "Trash" and rely on the cred_save_post hook. Relevant Documentation: |
2 | 3 | hace 4 años, 1 mes | ||
Posts don’t publish everytime after order payment
Iniciado por: Pat
en: Toolset Professional Support
Problem: I have a Commerce Form that is used to publish a post and connect it to an Order. The Commerce Form is configured to publish the post when the Order is completed. However, sometimes clients submit the same Form multiple times for the same Order. In this case, several posts are created but only the most recent post is published when the Order is completed. I would like to publish all the posts connected to the Order when the Order is completed. Solution: Forms Commerce is not designed to support more than one post per Order, so custom code is required to make this work. See the example here using the cred_commerce_after_order_completed API: // publish all posts created when one commerce form is submitted mutliple times in the same order add_action( 'cred_commerce_after_order_completed', 'publish_all_ordered_posts', 10, 1 ); function publish_all_ordered_posts( $data ) { // which order was completed? $order_id = $data['transaction_id']; // which posts were created in this order? $all_order_posts = get_post_meta( $order_id, '_cred_post_id'); // loop over all the created posts if( !is_array( $all_order_posts ) ) return; foreach( $all_order_posts as $all_order_post ) { // check the post status $this_post_status = get_post_status( $all_order_post ); // publish any unpublished posts if ( $this_post_status != 'publish' ) { $args = array( 'ID' => $all_order_post, 'post_status' => 'publish' ); wp_update_post( $args ); } } } Relevant Documentation: |
3 | 14 | hace 4 años, 2 meses | ||
Views Filter by _stock doest not work properly
Iniciado por: Pat en: Toolset Professional Support |
2 | 10 | hace 4 años, 2 meses | ||
Use of a Views as a select inside a Forms don't work id additional parameters de
1
2
Iniciado por: Pat en: Toolset Professional Support |
2 | 18 | hace 4 años, 2 meses | ||
Change the user role on form's submission
Iniciado por: Pat en: Toolset Professional Support |
2 | 6 | hace 4 años, 2 meses |