Fast Secure Contact Form
php script for sidebar (3 posts)

  1. graemed1378
    Posted 2 years ago #


    I have installed WordPress on my site and have included a shortcode contact form on the following page:


    That is all fine as is the shortcode "join our mailing list" form on the homepage (http://alpha-art.co.uk/).

    I have a problem however. My sidebar is not available in the Appearance options (due to the type of theme I'm using). Instead, anything I put in the sidebar - see http://alpha-art.co.uk/about-us/ for the example - has to be input into my sidebar.php whilst editing the theme scripts. I have put in the php scripts for the Facebook Like button and also linking a couple of photos up there. I have been trying to get another "Join our mailing list" in there above the Facebook Like button.

    Having read some forums, I have put the following php script onto the sidebar.php editor:

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

    However, this has not brought the form up. Do I need to do anything else to show this form in the php editor? I am totally stumped now and would be very grateful for any help!

    Many thanks,


  2. pf40220
    Posted 1 year ago #

    I realize your question is 8 months old but it doesn't appear that you have added the contact form on your sidebar yet. I was just running into the same issue and tried the same code you listed without success. Below is what I eventually found in a forum that worked for me.

    <?php echo do_shortcode('[si-contact-form form="1"]'); ?>

    Hopefully this works for you as well. Good Luck.

  3. mbrsolution
    Posted 1 year ago #

    Hi @pf40220 please read the following URL.

    Thank you

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Fast Secure Contact Form
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic