WordPress.org

Support

Support » Plugins and Hacks » Contact form in sidebar

Contact form in sidebar

  • Hi, I’m looking for plugin which could be used in sidebar and user can type his name/email/web/opinion and this plugin will save it to WordPress database and show it in WP admin.

    (if there isn’t anything like that – is there at least contact form to sidebar which can email you these things? I didn’t find anything).

    Thanks a lot…

Viewing 1 replies (of 1 total)
  • Hey Machi,
    that’s easy:

    1.) Go get the “Contact Form 7” plug-in and install it.

    2.) Create a form as discribed egg. [contact-form 1 “Call back form”].

    3.) Create a new post. In that post you put the Code egg. [contact-form 1 “Call back form”]. Now create a new Category “forms” – that’s just for you to exclude further on this category from your published posts.

    4.) Go to administation panel and find out what is the post/page-id egg. it’s “96”

    5.) Open you sidebar.php and include their the following code:

    <?php query_posts('p=96'); if(have_posts()) : the_post(); ?>
    <?php the_content(); ?>
    <?php endif; ?>

    6.) Save and upload. Finish!

    Now you can easy change settings etc. of the contact form over the backend.

    Cheers,

    Morris

Viewing 1 replies (of 1 total)
  • The topic ‘Contact form in sidebar’ is closed to new replies.