• Resolved samr92

    (@samr92)


    Hi guys,

    I’ve created a new contact form on a new wordpress page, but I’m wondering if it’s possible to hook it into part of my site that’s not a wordpress page? The non-wordpress page it’s self has a hook into wordpress as it’s pulling blog posts, but I can’t seem to get it to pull the page contents, all I get for the form is ” [contact-form] ” – but the rest of the page content displays properly.

    Thanks
    Sam

    https://wordpress.org/plugins/jetpack/

Viewing 1 replies (of 1 total)
  • Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic 🚀

    I’m afraid you won’t be able to do that; Jetpack inserts the contact form using shortcodes, a core WordPress feature. Once you get out of WordPress, these shortcodes can’t be processed anymore, and consequently appear as they were inserted into the WordPress page.

    WordPress also handles dependencies for these shortcodes. If a shortcode requires a specific JavaScript library (Jetpack’s Contact form does), that library is then automatically inserted in the page’s head, so the JavaScript can be used when processing the shortcode. Once you leave WordPress, that library won’t be inserted anymore.

    You’ll consequently need to find a different solution to add a contact form to that page.

Viewing 1 replies (of 1 total)

The topic ‘Embed Contact Form on non-wordpress page?’ is closed to new replies.