Skip to content

boyte/wp-eloqua-forms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Eloqua Forms

Eloqua Forms is a simple plugin that imports all forms from an Eloqua instance into a custom Form post type. Please note that this plugin is not currently being developed or maintained, though it should still work.

Description

This is a fairly simple plugin. It adds a custom post type, Eloqua Forms, and has a function to import the forms from the Eloqua API.

The plugin also provides a form shortcode for simple injection of the forms. It can be used in any post, page or custom sidebar widget. It can also be used in connection with Advanced Custom Fields to create a simple drop-down selector that injects forms into a page without needing shortcodes.

Shortcode [show_form] attributes:

  • post_id - Wordpress post ID of form post
  • eloqua_form_id - Eloqua form ID
  • title - the title above the form
  • redirect_to - where the form should be redirected to if using redirectURL fields (requires http://)

It currently utilizes login credentials hardcoded in the plugin itself, using Eloqua Basic Authentication. This will be changed in future iterations to use the OAuth2 protocol.

Installation

  1. Edit line 41 of eloqua-forms.php and update with your own credentials
  2. Zip all files into a single directory called wp-eloqua-forms
  3. Upload wp-eloqua-forms to the /wp-content/plugins/ directory
  4. Activate the plugin through the 'Plugins' menu in WordPress
  5. Use shortcode wherever you'd like forms or integrate with Advanced Custom Fields to inject forms wherever you'd like

Changelog

= 1.0 =

  • Created initial plugin using Basic Authentication
  • Includes shortcode and custom javascript injections

Credit

The plugin was variously written and edited at Axial and Jornaya.

About

Custom integration between Eloqua forms and Wordpress

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published