Pat
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
List all orders related to a product
1
2
Started by: Pat in: Toolset Professional Support |
2 | 20 | 3 years, 4 months ago | ||
Conditional output using post availability
Started by: Pat in: Toolset Professional Support |
2 | 10 | 3 years, 4 months ago | ||
Messages created with Toolset can be visible by Toolset
Started by: 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 | 3 years, 4 months ago | ||
More than 500 post created with CRED Auto Draft in less than one week !
Started by: Pat in: Toolset Professional Support |
3 | 15 | 3 years, 5 months ago | ||
Insert a function into a Views
Started by: 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 | 3 years, 12 months ago | ||
How to update Views (other than manually)
Started by: Pat in: Toolset Professional Support |
2 | 3 | 4 years, 1 month ago | ||
Notification on Cred commerce after post publish
Started by: Pat in: Toolset Professional Support |
3 | 11 | 4 years, 1 month ago | ||
Conditional output on a date + hour
Started by: Pat
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 7 | 4 years, 1 month ago | ||
Combined hook between forms and WC
Started by: Pat in: Toolset Professional Support |
2 | 8 | 4 years, 1 month ago | ||
order a view with the author last name
1
2
Started by: Pat in: Toolset Professional Support |
2 | 17 | 4 years, 1 month ago | ||
running a hook on cred_redirect_after_delete_action
Started by: 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 | 4 years, 1 month ago | ||
Posts don’t publish everytime after order payment
Started by: 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 | 4 years, 1 month ago | ||
Views Filter by _stock doest not work properly
Started by: Pat in: Toolset Professional Support |
2 | 10 | 4 years, 1 month ago | ||
Use of a Views as a select inside a Forms don't work id additional parameters de
1
2
Started by: Pat in: Toolset Professional Support |
2 | 18 | 4 years, 1 month ago | ||
Change the user role on form's submission
Started by: Pat in: Toolset Professional Support |
2 | 6 | 4 years, 2 months ago |