ThomasB2891
Fils de soutien créés au cours des 30 derniers jours : 0
Sujets de forum favoris
Cet utilisateur n'a aucun sujet favori.
Sujets de forum créés
Status | Sujet | Supporter | Voix | Publications | Nouveauté |
---|---|---|---|---|---|
Distance Search Setup
Commencé par : ThomasB2891 dans : Types Community Support |
2 | 2 | Il y a 6 années et 2 mois | ||
Adding my own button for form submit
Commencé par : ThomasB2891
dans : 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 | Il y a 6 années et 2 mois | ||
Save current page URL in custom field with CRED form
Commencé par : ThomasB2891
dans : 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 | Il y a 6 années et 3 mois | ||
Conditional output not displaying complex content
Commencé par : ThomasB2891 dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 4 mois | ||
Accordion feature in CRED form
Commencé par : ThomasB2891 dans : Toolset Professional Support |
2 | 6 | Il y a 6 années et 5 mois | ||
Favorites function user permission help
Commencé par : ThomasB2891 dans : Toolset Professional Support |
2 | 6 | Il y a 6 années et 5 mois | ||
Layouts row width not responding
Commencé par : ThomasB2891 dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 5 mois | ||
PHP Warning after editing CRED Post Form
Commencé par : ThomasB2891
dans : 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 | Il y a 6 années et 5 mois | ||
Featured Slider is no longer returning results horizontally?
Commencé par : ThomasB2891 dans : Toolset Professional Support |
2 | 2 | Il y a 6 années et 6 mois | ||
How do I load modules to my site?
Commencé par : ThomasB2891 dans : Toolset Professional Support |
2 | 4 | Il y a 6 années et 6 mois | ||
How can I search based on location?
Commencé par : ThomasB2891 dans : Types Community Support |
2 | 2 | Il y a 6 années et 6 mois |