Viewing 1 replies (of 1 total)
  • yes

    Look on the FAQ page
    http://www.fastsecurecontactform.com/faq-wordpress-version

    How can I add the contact form to a template manually rather than use shortcode in a page?

    Use this code:

    <?php
    if ( isset($si_contact_form) )  {
     echo $si_contact_form->si_contact_form_short_code( array( 'form' => '1' ) );
    }
    ?>

    Be sure to set the correct form number for example, for form 2 you have to set: ‘form’ =>’2′

    This may work also:
    <php? echo do_shortcode('[si-contact-form form="1"]'); ?>

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Fast Secure Contact Form] php code instead of shortcode’ is closed to new replies.