WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
[resolved] PHP call not displaying in page template (3 posts)

  1. phendyr
    Member
    Posted 10 months ago #

    Hello,
    I have a CF7 form that I'm trying to implement using the PHP call in a page template. Below is an example of the code I'm using, but it does not display on the page:

    <?php echo do_shortcode( '[contact-form-7 id="171" title="application form"]' ); ?>

    I grabbed the shortcode directly from the form list, and pasted it in. Not sure what is wrong. If anybody has any ideas, I appreciate your time to share.

    Thanks.

    http://wordpress.org/plugins/contact-form-7/

  2. Takayuki Miyoshi
    Member
    Plugin Author

    Posted 10 months ago #

    Can I see the site?

  3. phendyr
    Member
    Posted 10 months ago #

    Unfortunately no, it's an internal-use site for our client... however I managed to get it working by implementing the forms within a sidebar widget so it worked out.

    Thanks for the offer to help.
    P

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.