Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #248645

    Is there a way to use the contact form via the enfold site builder and somehow make the text act as ghost text or placeholder text? I want the 2 column functionality of the enfold contact form builder but the placeholder text option that contact form 7 offers. Any help would be appreciated. Thanks

    #248650

    Hi!

    I found a way to have both, add this to the functions.php:

    add_filter( 'wpcf7_form_elements', 'mycustom_wpcf7_form_elements' );
    
    function mycustom_wpcf7_form_elements( $form ) {
    	$form = do_shortcode( $form );
    
    	return $form;
    }

    Then you can use the Enfold layout shortcodes in your CF7 form:

    Regards,
    Josue

    #248832

    For some reason when I add that to my php, it makes my site not function. Maybe I added it to the wrong place in the php file but I tried it at the top, middle and bottom.

    #248836

    That’s an addition to Contact Form 7, make sure it’s enabled first.

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.