This plugin consolidates shortcodes used across several WLO Websites. Shortcodes provided by this plugin include those to explose user IP, user agent, site and page information on contact forms.
The plugin is used in concert with Contact Form 7 Shortcode Enabler to expose point-of-origin information inside Contact Form 7 Webforms submitted to a CRM. The Enabler plugin is required to expose shortcodes inside the Contact Form 7 form, which itself is rendered as a shortcode. Shortcodes described here are primarily used on the form creation page, which is in turn rendered by shortcode on various pages as required.
The other plugin required for CMS integration is ZOHO CRM Leads Magnet
Two versions of this set are provided - one with quote marks and one without. The quotes are offered in the rendered shortcode because Wordpress will not render shortcodes wrapped in quotes (at least inside the Contact Form 7). If we want an input field with value="https://example.com/about" from the [get_url] shortcode we cannot use value="[get_url]" so we use value=[quote_url] and let the shortcode render quotemarks as may be required in some browsers.
| [shortcode] | Value |
|---|---|
| [get_url] | Shows full URL of current page |
| [get_site] | Shows URL for current site |
| [get_IP] | Shows IP of current user |
| [get_useragent] | Shows user agent |
| [quote_url] | Shows full URL of current page inside quote marks |
| [quote_site] | Shows URL for current site inside quote marks |
| [quote_IP] | Shows IP of current user inside quote marks |
| [quote_useragent] | Shows user agent inside quote marks |