neilR
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 |
---|---|---|---|---|---|
Any news on when taxonomy and user views will be available in Blocks?
Started by: neilR in: Toolset Professional Support |
3 | 5 | 4 years, 1 month ago | ||
Where is documentation on Custom Post Type Options panel?
Started by: neilR
in: Toolset Professional Support
Problem: Solution: And read more about the register_post_type function, which toolset uses under the hood. |
2 | 4 | 4 years, 1 month ago | ||
WordPress 5.5 JQuery Migrate Helper reports deprecated jquery in Forms & Access
Started by: neilR in: Toolset Professional Support |
2 | 4 | 4 years, 3 months ago | ||
bbpress post editing not working when Access activated with Woo Memberships
Started by: neilR in: Toolset Professional Support |
2 | 3 | 4 years, 10 months ago | ||
Cred update overnight 2.3 to 2.35 breaks site
Started by: neilR
in: Toolset Professional Support
Problem: The issue here is that the user was getting the error This occurred after updating to Forms version 2.3.5 Solution: This issue was solved in Forms version 2.3.6 so I would recommend updating to this version. |
2 | 5 | 5 years, 7 months ago | ||
Parametric Search on Parent and Child custom fields
Started by: neilR
in: Toolset Professional Support
Problem: I want to provide the user with two drop-down select boxes - one which filters on a child custom field, and one which filters on a parent custom field. Solution: There isn't such a built-in feature within Views plugin, see details here: https://toolset.com/forums/topic/parametric-search-on-parent-and-child-custom-fields/#post-1229171 Relevant Documentation: |
2 | 3 | 5 years, 7 months ago | ||
Allowing attribute selection on simple products
Started by: neilR
in: Toolset Professional Support
Problem: The issue here is that the user wanted to create a simple product in woocommerce with multiple attributes. Solution: It is not possible for a simple product to have attributes. I would recommend creating the product as a variable product. |
2 | 4 | 5 years, 10 months ago | ||
cred_commerce_after_payment_completed behaving like after_order_completed hook
Started by: neilR in: Toolset Professional Support |
2 | 2 | 6 years, 3 months ago | ||
Generate a list of image IDs from multi-image field
Started by: neilR
in: Toolset Professional Support
Problem: I would like to generate a list of image ids from a repeating image field. Solution: Use the following custom shortcode and utility function. function get_attachment_id( $url ) { $attachment_id = 0; $dir = wp_upload_dir(); if ( false !== strpos( $url, $dir['baseurl'] . '/' ) ) { // Is URL in uploads directory? $file = basename( $url ); $query_args = array( 'post_type' => 'attachment', 'post_status' => 'inherit', 'fields' => 'ids', 'meta_query' => array( array( 'value' => $file, 'compare' => 'LIKE', 'key' => '_wp_attachment_metadata', ), ) ); $query = new WP_Query( $query_args ); if ( $query->have_posts() ) { foreach ( $query->posts as $post_id ) { $meta = wp_get_attachment_metadata( $post_id ); $original_file = basename( $meta['file'] ); $cropped_image_files = wp_list_pluck( $meta['sizes'], 'file' ); if ( $original_file === $file || in_array( $file, $cropped_image_files ) ) { $attachment_id = $post_id; break; } } } } return $attachment_id; } add_shortcode('media-info-multi', 'media_info_multi_func'); function media_info_multi_func($atts, $content){ global $wpdb; $atts = shortcode_atts( array( 'slug' => 'photos', 'info' => 'title', ), $atts); $res = ''; $urls = types_render_field($atts['slug'], array('output' => 'raw', 'separator'=> ',')); $arr = explode(',', $urls); $attachment_id = array(); foreach($arr as $k => $v){ $attachment_id[] = get_attachment_id( $v ); } $res = implode(',', $attachment_id); return $res; } |
2 | 7 | 6 years, 5 months ago | ||
How do I access order number when using cred_commerce_after_payment_completed ?
Started by: neilR
in: Toolset Professional Support
Problem: How can I access the order number in a cred_commerce_after_payment_completed API callback function? Solution: You can access the Order ID in the data payload under the transaction_id key. add_action('cred_commerce_after_payment_completed','demo_function',10,1); function demo_function($data) { $order_id = $data['transaction_id']; // your code continues here... } Relevant Documentation: |
2 | 3 | 6 years, 5 months ago | ||
cred_commerce_after_payment_completed hook has stopped working
Started by: neilR in: Toolset Professional Support |
2 | 4 | 6 years, 5 months ago | ||
CRED Notification is sent when back-end “Purchase status changes to: Processing”
1
2
Started by: neilR
in: Toolset Professional Support
Problem: I have set up an email notification on a CRED Commerce form that should be sent at certain Order status changes. The email notification does not seem to respect the Order status settings, the email is sent regardless of the Order status. Solution: This issue has been resolved in the latest version of CRED Commerce. |
3 | 23 | 6 years, 7 months ago | ||
Can you submit multiple Avada Featured Images with CRED?
Started by: neilR
in: Toolset Professional Support
Problem: The issue here is that the user wanted to know if it was possible to submit multiple featured images with avada theme. Solution: The Avada theme seems to be doing something special on it's side to upload the multiple images. In this case I don't believe it is possible. However you can use our repeatable custom fields for images to upload multiple images to the post that is being created. |
2 | 4 | 6 years, 9 months ago | ||
Creating child post with CRED: hooked actions no longer work
Started by: neilR in: Toolset Professional Support |
2 | 12 | 6 years, 11 months ago | ||
Moving custom fields between groups
Started by: neilR in: Toolset Professional Support |
2 | 2 | 6 years, 12 months ago |