Viewing 3 replies - 1 through 3 (of 3 total)
  • How can I add the contact form to a template manually rather than use
    shortcode in a page?

    Manually:
    Use this code: `<?php if ( isset($si_contact_form) ) echo
    $si_contact_form->si_contact_form_short_code( array( ‘form’ => ‘1’ ) ); ?>`

    Shortcode: this tells how to put it in a sidebar…
    http://englishmike.net/2008/07/07/wordpress-quick-tips-3adding-a-shortcode-to-a-sidebar-widget/

    Thread Starter ericthelion

    (@ericthelion)

    Hi Mike – thanks for the reply.
    I added this to the sidebar.php in my theme, but it does not show up.
    It is not coming into this condition :
    if ( isset($si_contact_form) )

    I took the condition out and it throws this error :
    Fatal error: Call to a member function si_contact_form_short_code() on a non-object in /public_html/wp-content/themes/irresistible/sidebar.php on line 10

    Any ideas ?

    Thanks!

    Then take that code out and try using shortcode in a sidebar widget.
    I gave you a link for that but the site is temporarily closed.

    See this topic, I have helped with this before.
    http://wordpress.org/support/topic/341243

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Fast and Secure Contact Form] Sidebar ?’ is closed to new replies.