lindsayH
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é |
---|---|---|---|---|---|
Add honeypot to CRED form
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: function loadtime_func($atts, $content) { return time(); } add_shortcode('loadtime', 'loadtime_func'); add_filter('cred_form_validate','honeypot_func',10,2); function honeypot_func($field_data, $form_data) { list($fields,$errors)=$field_data; if ($form_data['id']==123) { $loadtime = $_POST["loadtime"]; $totaltime = time() - $loadtime; if($totaltime < 7) { $errors['loadtime'] = 'Please fill in the form before submitting!'; } } //return result return array($fields,$errors); } Please replace 123 with the CRED form ID [cred_generic_field field="loadtime" type="hidden" class="" urlparam=""] { "required":0, "validate_format":0, "persist":0, "default":[loadtime] } [/cred_generic_field] Relevant Documentation: |
4 | 7 | Il y a 8 années et 2 mois | ||
Managers (a new role created but no different to Editors) are Super Users?
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: Relevant Documentation: |
2 | 13 | Il y a 8 années et 2 mois | ||
I have created a CRED edit for for a Post, can I hide the original CRED form
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 3 | Il y a 8 années et 2 mois | ||
CRED form visible only to Post Author
Commencé par : lindsayH dans : Toolset Professional Support |
1 | 2 | Il y a 8 années et 2 mois | ||
Calculation Fields for Form in a Grid?
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: Solution: You can find proposed solution with the following reply: Relevant Documentation: |
3 | 13 | Il y a 8 années et 2 mois | ||
Third Party Shortcut – move from Page and I'm logged out
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: Solution: Relevant Documentation: |
2 | 5 | Il y a 8 années et 2 mois | ||
Recaptcha twice on one page – tabbed content
Commencé par : lindsayH dans : Toolset Professional Support |
2 | 5 | Il y a 8 années et 2 mois | ||
Loop Wizard – Edit Image field, Update shortcode 503 server error
Commencé par : lindsayH dans : Toolset Professional Support |
4 | 17 | Il y a 8 années et 3 mois | ||
Days to go for future date calculation (Future Date – Now).
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: /** Custom Countdown Shortcode */ function custom_date_countdown_shortcode ( $atts ) { $timestamp = get_user_meta( get_current_user_id(), 'wpcf-wedding-date', true ); $timeleft = $timestamp - mktime(); return round ($timeleft/(60*60*24)); } add_shortcode( 'wedding_countdown', 'custom_date_countdown_shortcode' ); Relevant Documentation: |
2 | 4 | Il y a 8 années et 3 mois | ||
Unable to click responsive menu only when Layouts attached to a page
Commencé par : lindsayH dans : Toolset Professional Support |
2 | 15 | Il y a 8 années et 3 mois | ||
Logout Link
Commencé par : lindsayH
dans : Toolset Professional Support
Problem: Solution: /** Custom Logout Shortcode */ function custom_logout_link_func() { $return = wp_logout_url(); return '<a href="' . $return . '" class="btn btn-primary btn-xs btn-block" role="button" style="margin-bottom: 10px;">Logout</a>'; } add_shortcode('logout_link', 'custom_logout_link_func'); Relevant Documentation: |
2 | 3 | Il y a 8 années et 3 mois | ||
I have added a Utility Bar and a Menu for my theme – but the menu disappears
Commencé par : lindsayH dans : Toolset Professional Support |
2 | 5 | Il y a 8 années et 3 mois |