跳到内容

Dynamic Populate Button Maker

v1.0

WP CMS Ninja · 2015年10月3日 上架

Generate a link that can be used where a dynamic populate via query variable is used like in some form systems.

正在使用
10 以下
评分
暂无
累计下载
1,257
最近更新
2015年10月3日
需要 WordPress 4.2+已测试到 4.3.34

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums