aaronM-9
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 |
---|---|---|---|---|---|
Site breaking when making featured image a custom size
Started by: aaronM-9
in: Toolset Professional Support
Problem: The feature image shortcode [wpv-post-featured-image] does not work as expected. [wpv-post-featured-image size="custom" width="75" height="75" ...] Solution: You will need to use other beta version of Layouts plugin + CRED plugin, and the latest version of Views plugin is 2.6 RC-2, please try to install them in your website, and test again, you can download them here: Relevant Documentation: |
2 | 6 | 6 years, 6 months ago | ||
Post Type Not Appearing in Form
Started by: aaronM-9
in: Toolset Professional Support
Problem: One of my custom post types is not appearing in the CRED form builder. Solution: Be sure that the show_ui option is checked in the editor screen for this custom post type. Relevant Documentation: |
2 | 5 | 6 years, 6 months ago | ||
Conditional Group Not Working
1
2
Started by: aaronM-9 in: Toolset Professional Support |
2 | 17 | 6 years, 6 months ago | ||
Conditional code based on field value of a parent post type not working?
Started by: aaronM-9 in: Toolset Professional Support |
2 | 6 | 6 years, 7 months ago | ||
Do hidden parent post type input fields need to be of the select type?
Started by: aaronM-9
in: Toolset Professional Support
Problem: Change the CRED form parent select dropdown into a hidden field. Solution: there isn't such a built-in feature. as a workaround you can use a generic hidden field to replace the select dropdown field, for example: [cred_generic_field field='_wpcf_belongs_product-listing_id' type='hidden' class='' urlparam='productid'] { "required":0, "validate_format":0, "default":"0" } [/cred_generic_field] https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_generic_field Then update the field value with CRED action hook "cred_save_data", for example: add_action('cred_save_data', 'my_save_data_action',10,2); function my_save_data_action($post_id, $form_data) { // if a specific form if ($form_data['id']==123) { if (isset($_POST['_wpcf_belongs_product-listing_id'])) { // add it to saved post meta update_post_meta($post_id, '_wpcf_belongs_product-listing_id', $_POST['_wpcf_belongs_product-listing_id'], true); } } } https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
2 | 4 | 6 years, 7 months ago | ||
Make image preview in CRED Edit form thumbnail instead of full size
Started by: aaronM-9
in: Toolset Professional Support
Problem: Solution: .js-wpt-credfile-preview img { max-width: 150px; } |
2 | 3 | 6 years, 7 months ago | ||
CSS in Individual Layouts
Started by: aaronM-9 in: Toolset Professional Support |
2 | 7 | 6 years, 7 months ago | ||
Hidden Field Not Hidden
Started by: aaronM-9
in: Toolset Professional Support
Problem: I added the "hidden" class to a CRED checkboxes field but the checkboxes are shown in the form. Solution: Instead of adding the hidden class to the CRED field shortcode, wrap the shortcode in a div container and add the hidden class to the container. You can manage the display of the checkboxes by managing the display of the container. |
2 | 10 | 6 years, 7 months ago | ||
Can I display just the state and country name from an address field?
Started by: aaronM-9 in: Toolset Professional Support |
2 | 4 | 6 years, 7 months ago | ||
Featured Image Displaying Even Though Disabled
Started by: aaronM-9
in: Toolset Professional Support
Problem: Solution: User has fixed the issue by adding simple CSS as described with the following reply: Relevant Documentation: |
2 | 5 | 6 years, 7 months ago | ||
Cannot Add Address Field Type
Started by: aaronM-9
in: Toolset Professional Support
Problem: The issue here is that the user is unable to add the address field type from his computer. Solution: In this case it turned out to be the user's browser and his antivirus. SO if you are experiencing this issue please ensure that your antivirus for your browser is disabled and try again. Alternatively you can try a different browser. |
2 | 13 | 6 years, 7 months ago | ||
Allow Redirect to Specific Link or Custom Post Type
Started by: aaronM-9
in: Toolset Professional Support
Problem: Solution: For example: add_filter('cred_success_redirect', 'custom_redirect',10,3); function custom_redirect($url, $post_id, $form_data) { if ($form_data['id']==12) { $url = 'http://www.google.com'; return $url; } } You can find proposed solution, in this case, with the following reply: Relevant Documentation: => https://toolset.com/documentation/programmer-reference/cred-api/#cred_success_redirect |
2 | 3 | 6 years, 7 months ago | ||
Can I pass a taxonomy term to a CRED form via a URL parameter?
Started by: aaronM-9
in: Toolset Professional Support
Problem: I'm trying to pre-populate a CRED form using URL parameters. So far, I've been able to pre-populate all forms except for taxonomies. I've tried using the slug as well as the term name. Is this something that can be done? Solution: I suggest you try these: <a href="http:/some-URL/?param-subject=[wpv-post-taxonomy type="subject" format="name"]">BUTTON IN SEARCH OF</a> https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-taxonomy 2) In CRED form, use below JS codes to setup the default value in CRED field: var getUrlParameter = function getUrlParameter(sParam) { var sPageURL = decodeURIComponent(window.location.search.substring(1)), sURLVariables = sPageURL.split('&'), sParameterName, i; for (i = 0; i < sURLVariables.length; i++) { sParameterName = sURLVariables[i].split('='); if (sParameterName[0] === sParam) { return sParameterName[1] === undefined ? true : sParameterName[1]; } } }; var subject = getUrlParameter('param-subject'); jQuery('select[name="subject[]"]').find("option:contains('" + subject + "')").attr('selected', 'selected'); Relevant Documentation: https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-post-taxonomy |
3 | 6 | 6 years, 8 months ago | ||
How to add a delete post link in a CRED edit form
Started by: aaronM-9
in: Toolset Professional Support
Problem: Solution: [cred_delete_post_link action="delete" text="Delete %TITLE%" message_after="Post deleted" message="Are you sure you want to delete this post?" message_show="1"] |
2 | 8 | 6 years, 8 months ago | ||
Run Custom SQL Code After Creation of New User
Started by: aaronM-9
in: Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 4 | 6 years, 8 months ago |