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′
I have a related problem here- the templates I have here insert particular content at a certain location on the page, called as ‘$content’. How would I adjust the above so that the output of the echo call above is held in ‘$content’ rather than just plain echoed?
Thanks
BanquosGhost, I do not know. Ask the support department for your theme.
Mike