Hi Roy is this what you mean..
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"]'); ?>
he bro, thanks for your help but you are saying is not fixing my problem, i am trying to implement a contact form on top of a easy-fancybox plugin that opens the pictures,
my code goes like this:
‘function(title, currentArray, currentIndex, currentOpts) { return \'<div id=”fancybox-title-over”>\’ + title + \’
צור קשר: [email protected] | 03-6816988</div>
<?php echo do_shortcode(“[si-contact-form form=”1″]”);?> \’;}’ => __(‘narrow’,’easy-fancybox’) ,
it seems i cant use do_shortcode or any echo inside this function.. this is what i seem to understand so i am trying to find a way pass that to get a contact form below every image that opens in my fancy box… if you have another solution i will be most grateful (:
Hi rmoses123 thank you for clarifying what you are trying to do. Please create a support ticket.
Kind regards