Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Dynamic Populate Button Maker

by WP CMS Ninja

Version: 1.0

Download
Description

This is a button maker that allows you to implement a link that will populate something that is dynamically populated by query variables using a shortcode. Using buttonid and buttonclass for styling of the A tag, forpageid to declare the landing page that has the form where the fields are being populated, buttontext for the text part of the A tag, and then whatever variables you assigned to the parameter names in where what query variables are used with what they are to be set too.  Parameter names should be in lowercase when used and not starting with a number. In Gravity Forms this is the “Allow field to be populated dynamically” option. So allowing a field to be dynamically populated and naming one var1 will be set to what ever is between the quotes in the shortcode.

[dpb-button formpageid=”922″ buttonid=”uniqueId” buttonclass=”classStyle” buttontext=”Click Here Text” var1=”Variable 1 to pass” var2=”Variable 2″]

will generate the following a tag within your code

<a href="http://wpcms.ninja/passing-to-variable-button-maker/?var1=Variable+1+to+pass&var2=Variable+2" class="classStyle" id="uniqueId">Click Here Text</a> 

This then allows you to style this hyperlink in your stylesheet how you see fit either by replacing it with an image or styling it however you would like.

Install plugin and activate.

Add shortcode to page with variables and preset settings to location.  Style button using your own stylesheet with button id assigned through shortcode.

Where can I get answers to questions?

You can email greg@wpcms.ninja to receive answers or go to http://wpcms.ninja

1.0

  • Initial Release of Plugin
  • Version:Version: 1.0
  • Last updated:Last updated: 03-10-2015
  • Requires:Requires: 4.2
  • Tested:Tested: 4.3.34
Average rating:0 out of 5 stars.
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
Back to top