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