WordPress.org

Forums

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

  1. phendyr
    Member
    Posted 1 year 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 1 year ago #

    Can I see the site?

  3. phendyr
    Member
    Posted 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.