gbcf-v3 green beast contact form v3 page template form post (3 posts)

  1. timjamz
    Posted 6 years ago #

    Green Beast is working to make v3 of their Secure Accessible Contact Form available as a plugin. In the interim, I have discovered how to make it work from a page template.

    First, create a page template using include('gbcf/form.php');, then create a page in WP and assign the template to the page.

    Next is upload the 'gbcf' folder to the root of the theme directory. Then set GBCF in both form.php and functions.php to call the template directory plus the gbcf directory:

    $set_directory = 'wp-content/themes/the-theme/gbcf'

    Once that's done, change the "name" field to something unique (like gbcf-name) in both form.php input field, and functions.php where it gathers the POST data.

    WP uses "name," and cannot be used by the GBCF script.

    Hope this helps someone.

  2. MikeCherim
    Posted 6 years ago #

    Great job timjamz. Thanks for posting this.

  3. whiteboxer
    Posted 6 years ago #

    timjamz, I'm a bit PHP illiterate, so can you explain a little more, or point me to a link, that helps with creating a template using the include method?

Topic Closed

This topic has been closed to new replies.

About this Topic