WordPress.org

Support

Support » Plugins and Hacks » ContactMe » [Resolved] [Plugin: ContactMe] Form in Sidebar

[Resolved] [Plugin: ContactMe] Form in Sidebar

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

    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?

    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 ‘[Resolved] [Plugin: ContactMe] Form in Sidebar’ is closed to new replies.
Skip to toolbar