• Resolved shortcoder

    (@shortcoder)


    Has anyone successfully added the contactme form in the sidebar? I’m attempting to place it there using the shortcode in a text widget. I love the recaptcha support of this plugin (which made me switch from contact form 7), but really need to get it in the sidebar.

    http://ww.wp.xz.cn/extend/plugins/wp-contactme/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author DCoda

    (@dcoda)

    shortcodes only work in posts and pages where they can be filtered and replaced with the correct form.
    They will not work with text widgets.

    If you can find a widget that can display a post in the sidebar you might be able to get it working like you want.

    Regards
    D

    Thread Starter shortcoder

    (@shortcoder)

    Thanks for the quick reply. So I’ve added
    <?php echo do_shortcode('[ContactMe form="Sidebar"]'); ?>
    into the page template file and it does not work. Any other ideas without adding it to a post?

    Thread Starter shortcoder

    (@shortcoder)

    UPDATE:
    As you suggested, I created a new blank post then inserted this into the sidebar portion of the page template which worked:
    <?php query_posts('p=206'); if(have_posts()) : the_post(); ?>

    <?php the_content(); ?>

    <?php endif; ?>

    Thanks for your assistance!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: ContactMe] Form in Sidebar’ is closed to new replies.