Form displaying Twice
-
was working to build a plugin to display forms, because I want to prefill logged in user data.
All I have now is super basic
function myplugin_forms_func() { $html = ''; $args = array( 'honeypot' => true, ); $connectForm = advanced_form( 'form_ID', $args ); $html .= ' <div class="connect-form">' . $connectForm . '</div>'; return $html; } add_shortcode('myplugin_forms', 'myplugin_forms_func');
When I run the shortcode [myplugin_forms] it displays the form where it should be displayed and also at the top of the page as the first item.
Am I missing something?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Form displaying Twice’ is closed to new replies.