ThomasB2891
Admite hilos creados en los últimos 30 días: 0
Debates favoritos del foro
Este usuario no tiene debates favoritos.
Temas del foro creados
Status | Debate | Supporter | Voces | Mensajes | Caducidad |
---|---|---|---|---|---|
Distance Search Setup
Iniciado por: ThomasB2891 en: Types Community Support |
2 | 2 | hace 6 años, 9 meses | ||
Adding my own button for form submit
Iniciado por: ThomasB2891
en: Toolset Professional Support
Problem: The issue here is that the user wanted to add his own CRED submit button to use his own custom styling. Solution: Actually you can replace the form submit button with an html submit button like this. <button type="submit" name='form_submit' class="btn btn-primary"> Submit </button> If you replace the submit button shortcode you can use the html above instead and you should be able to customize the way you like. |
2 | 5 | hace 6 años, 9 meses | ||
Save current page URL in custom field with CRED form
Iniciado por: ThomasB2891
en: Toolset Professional Support
Problem: I would like to use a CRED form to save the current page URL into a custom field on a new post. I plan to use this as a "saved search" so Users can visit the same search again later. Solution: If your form does not use AJAX, you can use the following code to automatically save the current page URL in a CRED custom field: add_action('cred_save_data', 'save_page_url_to_custom_field',10,2); function save_page_url_to_custom_field($post_id, $form_data) { if ($form_data['id'] == 123) { update_post_meta($post_id, 'wpcf-search-url', $_SERVER['HTTP_REFERER']); } } Replace '123' with the numeric ID of this CRED form, and replace "search-url" with the slug of your custom field. Relevant Documentation: https://toolset.com/documentation/programmer-reference/cred-api/#cred_save_data |
2 | 5 | hace 6 años, 10 meses | ||
Conditional output not displaying complex content
Iniciado por: ThomasB2891 en: Toolset Professional Support |
2 | 2 | hace 6 años, 11 meses | ||
Accordion feature in CRED form
Iniciado por: ThomasB2891 en: Toolset Professional Support |
2 | 6 | hace 7 años | ||
Favorites function user permission help
Iniciado por: ThomasB2891 en: Toolset Professional Support |
2 | 6 | hace 7 años | ||
Layouts row width not responding
Iniciado por: ThomasB2891 en: Toolset Professional Support |
2 | 2 | hace 7 años | ||
PHP Warning after editing CRED Post Form
Iniciado por: ThomasB2891
en: Toolset Professional Support
Problem: Warning: Creating default object from empty value in C:\Program Files (x86)\Ampps\www\wp-content\plugins\cred-frontend-editor\application\models\form\data.php on line 56 Solution: |
2 | 7 | hace 7 años | ||
Featured Slider is no longer returning results horizontally?
Iniciado por: ThomasB2891 en: Toolset Professional Support |
2 | 2 | hace 7 años, 1 mes | ||
How do I load modules to my site?
Iniciado por: ThomasB2891 en: Toolset Professional Support |
2 | 4 | hace 7 años, 1 mes | ||
How can I search based on location?
Iniciado por: ThomasB2891 en: Types Community Support |
2 | 2 | hace 7 años, 1 mes |