Pat
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
This user has no favorite topics.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
List all orders related to a product
1
2
Commencé par : Pat in: Toolset Professional Support |
|
2 | 20 | Il y a 3 années et 7 mois | |
Conditional output using post availability
Commencé par : Pat in: Toolset Professional Support |
|
2 | 10 | Il y a 3 années et 7 mois | |
Messages created with Toolset can be visible by Toolset
Commencé par : Pat
in: 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 | Il y a 3 années et 8 mois | |
More than 500 post created with CRED Auto Draft in less than one week !
Commencé par : Pat in: Toolset Professional Support |
|
3 | 15 | Il y a 3 années et 9 mois | |
Insert a function into a Views
Commencé par : Pat
in: 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 | Il y a 4 années et 3 mois | |
How to update Views (other than manually)
Commencé par : Pat in: Toolset Professional Support |
2 | 3 | Il y a 4 années et 4 mois | ||
Notification on Cred commerce after post publish
Commencé par : Pat in: Toolset Professional Support |
|
3 | 11 | Il y a 4 années et 4 mois | |
Conditional output on a date + hour
Commencé par : Pat
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
|
2 | 7 | Il y a 4 années et 4 mois | |
Combined hook between forms and WC
Commencé par : Pat in: Toolset Professional Support |
|
2 | 8 | Il y a 4 années et 4 mois | |
order a view with the author last name
1
2
Commencé par : Pat in: Toolset Professional Support |
|
2 | 17 | Il y a 4 années et 4 mois | |
running a hook on cred_redirect_after_delete_action
Commencé par : Pat
in: 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 | Il y a 4 années et 4 mois | |
Posts don’t publish everytime after order payment
Commencé par : Pat
in: 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 | Il y a 4 années et 5 mois | |
Views Filter by _stock doest not work properly
Commencé par : Pat in: Toolset Professional Support |
|
2 | 10 | Il y a 4 années et 5 mois | |
Use of a Views as a select inside a Forms don't work id additional parameters de
1
2
Commencé par : Pat in: Toolset Professional Support |
|
2 | 18 | Il y a 4 années et 5 mois | |
Change the user role on form's submission
Commencé par : Pat in: Toolset Professional Support |
|
2 | 6 | Il y a 4 années et 5 mois |