WordPress.org

Forums

Using Enhance WP Contact Form in Template File (2 posts)

  1. Zephon
    Member
    Posted 6 years ago #

    Hi!

    I would love to use the Enhanced WP Contact Form not in a post or a page, but in a template file (home.php).

    I've searched this forum and the web, but I couldn't find a solution that I could implement with my limited PHP skills.

    This specific contact form is nice because of its smart and easy spam protection—that's why I want to use this one.

    Does anyone have an idea on how to make it work?

  2. davesgonebananas
    Member
    Posted 6 years ago #

    Try <?php echo wpcf_callback(); ?> in your template.

    :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags