Armando
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Set publish date of post
Iniciado por: chrisH-10
en: 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 | hace 6 años, 7 meses | ||
Pagination for Parametric Search Results
Iniciado por: matt-matt en: Toolset Professional Support |
2 | 6 | hace 9 años, 6 meses | ||
Taxonomy Image SIZE
Iniciado por: ianM en: Types Community Support |
2 | 2 | hace 9 años, 7 meses | ||
How to check for an empty views output for use in a conditional
Iniciado por: Kristin en: Toolset Professional Support |
3 | 9 | hace 9 años, 9 meses | ||
Cred User profile editing…
Iniciado por: Gavin en: Toolset Professional Support |
3 | 7 | hace 9 años, 10 meses | ||
How to exclude specific terms from a taxonomy View
Iniciado por: Hassan en: Toolset Professional Support |
5 | 6 | hace 10 años |
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Views no longer working with selecting post type
Iniciado por: Armando en: Toolset Professional Support |
2 | 8 | hace 6 meses | ||
CRED form will not submit required fields even though everything is filled
Iniciado por: Armando en: Toolset Professional Support |
3 | 14 | hace 6 meses, 3 semanas | ||
toolset-edit-post-link Stopped working
Iniciado por: Armando en: Toolset Professional Support |
2 | 7 | hace 1 año, 10 meses | ||
WYSIWYG Saving issues
Iniciado por: Armando en: Toolset Professional Support |
2 | 7 | hace 2 años, 3 meses | ||
Captcha field missing in forms
Iniciado por: Armando
en: 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 | hace 2 años, 8 meses | ||
Previous Ticket Follow Up
Iniciado por: Armando en: Toolset Professional Support |
2 | 2 | hace 3 años, 10 meses | ||
Removing | Use My Location
Iniciado por: Armando en: Toolset Professional Support |
2 | 6 | hace 3 años, 10 meses | ||
Yoast SEO from a View
Iniciado por: Armando en: Toolset Professional Support |
2 | 5 | hace 4 años, 4 meses | ||
Conditional HTML based results returned by a View
Iniciado por: Armando
en: 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 | hace 4 años, 7 meses | ||
Reset password form missing username
Iniciado por: Armando en: Toolset Professional Support |
2 | 3 | hace 4 años, 7 meses | ||
JS Editor removed code but shows up in page code
Iniciado por: Armando en: Toolset Professional Support |
2 | 4 | hace 4 años, 8 meses | ||
Edit post link opens same window
Iniciado por: Armando en: Toolset Professional Support |
2 | 5 | hace 4 años, 8 meses | ||
_cred_post_expiration_time not working
Iniciado por: Armando
en: 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 | hace 4 años, 9 meses | ||
Sort not working properly anymore
Iniciado por: Armando
en: 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 | hace 4 años, 12 meses | ||
Display Taxonomy Posts First
Iniciado por: Armando en: Toolset Professional Support |
2 | 4 | hace 5 años |