Armando
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Set publish date of post
Commencé par : chrisH-10
in: Toolset Professional Support
Problem: I would like to set the publish date and time of a post within the CRED Form used to create that post. Solution: There's no post publish date field built into CRED, so this will require some custom code and a generic field. Add a generic date field to your CRED form, then add this code to functions.php: add_action('cred_save_data', 'set_post_date_to', 100, 3); function set_post_date_to($post_id, $form_data) { if( $form_data['id'] == 12345 ) { $newDate = $_POST['set-new-date']['datetime'] . ' 00:00:00'; $my_post = array( 'ID' => $post_id, 'post_date' => $newDate, 'post_date_gmt' => $newDate, 'post_status' => 'future' ); // Update the post into the database wp_update_post( $my_post ); } } - Change the form id 12345 to match your form. Relevant Documentation: |
2 | 5 | Il y a 6 années et 6 mois | ||
Pagination for Parametric Search Results
Commencé par : matt-matt in: Toolset Professional Support |
2 | 6 | Il y a 9 années et 6 mois | ||
Taxonomy Image SIZE
Commencé par : ianM in: Types Community Support |
2 | 2 | Il y a 9 années et 6 mois | ||
How to check for an empty views output for use in a conditional
Commencé par : Kristin in: Toolset Professional Support |
3 | 9 | Il y a 9 années et 9 mois | ||
Cred User profile editing…
Commencé par : Gavin in: Toolset Professional Support |
3 | 7 | Il y a 9 années et 9 mois | ||
How to exclude specific terms from a taxonomy View
Commencé par : Hassan in: Toolset Professional Support |
5 | 6 | Il y a 9 années et 12 mois | ||
Front-end user registration forms with CRED
Commencé par : michelB in: Toolset Professional Support |
3 | 9 | Il y a 10 années et 6 mois |
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Views no longer working with selecting post type
Commencé par : Armando in: Toolset Professional Support |
2 | 8 | Il y a 5 mois et 1 semaine | ||
CRED form will not submit required fields even though everything is filled
Commencé par : Armando in: Toolset Professional Support |
3 | 14 | Il y a 6 mois | ||
toolset-edit-post-link Stopped working
Commencé par : Armando in: Toolset Professional Support |
2 | 7 | Il y a 1 an et 9 mois | ||
WYSIWYG Saving issues
Commencé par : Armando in: Toolset Professional Support |
2 | 7 | Il y a 2 années et 3 mois | ||
Captcha field missing in forms
Commencé par : Armando
in: Toolset Professional Support
Problem: I cannot find the captcha field in the Form builder Solution: There is a known issue where captcha is not appearing in the drag-and-drop form builder. Use the workaround in the erratum post until the problem is resolved. Relevant Documentation: https://toolset.com/errata/cannot-insert-recaptcha-field-in-a-form-when-the-expert-mode-is-active/ |
2 | 4 | Il y a 2 années et 8 mois | ||
Previous Ticket Follow Up
Commencé par : Armando in: Toolset Professional Support |
2 | 2 | Il y a 3 années et 10 mois | ||
Removing | Use My Location
Commencé par : Armando in: Toolset Professional Support |
2 | 6 | Il y a 3 années et 10 mois | ||
Yoast SEO from a View
Commencé par : Armando in: Toolset Professional Support |
2 | 5 | Il y a 4 années et 3 mois | ||
Conditional HTML based results returned by a View
Commencé par : Armando
in: Toolset Professional Support
Problem: Solution: You could use the View "Disable the wrapping DIV around the View" option, which would allow you to return a raw loop, and use that in an HTML condition, but the problem is that this option ONLY applies to what's WITHIN the loop of a View, and the TOTAL of posts found, needed in this case, cannot be inserted INSIDE the loop. Hence you need to use the custom code solution above for this case. |
2 | 4 | Il y a 4 années et 7 mois | ||
Reset password form missing username
Commencé par : Armando in: Toolset Professional Support |
2 | 3 | Il y a 4 années et 7 mois | ||
JS Editor removed code but shows up in page code
Commencé par : Armando in: Toolset Professional Support |
2 | 4 | Il y a 4 années et 7 mois | ||
Edit post link opens same window
Commencé par : Armando in: Toolset Professional Support |
2 | 5 | Il y a 4 années et 7 mois | ||
_cred_post_expiration_time not working
Commencé par : Armando
in: Toolset Professional Support
Problem: Update _cred_post_expiration_time field with action hook cred_save_data. Solution: You can use a high priority value in action cred_save_data hook, for example: https://toolset.com/forums/topic/_cred_post_expiration_time-not-working/#post-1285885 Relevant Documentation: https://developer.wordpress.org/reference/functions/add_action/ |
2 | 3 | Il y a 4 années et 8 mois | ||
Sort not working properly anymore
Commencé par : Armando
in: Toolset Professional Support
Problem: Sort view's result by custom numeric field. Solution: You can setup the sort setting of view, for example: https://toolset.com/forums/topic/sort-not-working-properly-anymore/#post-1233664 Relevant Documentation: |
3 | 9 | Il y a 4 années et 11 mois | ||
Display Taxonomy Posts First
Commencé par : Armando in: Toolset Professional Support |
2 | 4 | Il y a 4 années et 11 mois |