Support » Plugins and Hacks » gbcf-v3 green beast contact form v3 page template form post

  • 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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Great job timjamz. Thanks for posting this.

    whiteboxer

    (@whiteboxer)

    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘gbcf-v3 green beast contact form v3 page template form post’ is closed to new replies.