jcchavezs/cmb2-conditionals
Composer 安装命令:
composer require jcchavezs/cmb2-conditionals
包简介
CMB2 Conditionals is a plugin for CMB2 which allows developers to relate fields so one of them could only appear when one other have an specific value or when is not empty.
README 文档
README
Contributors: jcchavezs, jrfnl
Tags: cmb2, conditionals, metaboxes
Requires at least: 3.8.0
Tested up to: 4.3
Stable tag: 1.0.4
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Disclaimer
This plugin is loved by many people but unfortunately I can not maintain it anymore so if you want to be a contributor just ping me on gitter.
Description
CMB2 Conditionals is a plugin for CMB2 which allows developers to relate fields so one of them could only appear when one other have an specific value or when is not empty.
To get started, please follow the examples in the included example-functions.php file.
Requirements
- PHP 5.2.4+
- Wordpress 3.8+
- CMB2
Contribution
All contributions welcome. If you would like to submit a pull request, please check out the master branch and pull request against it. Please read the CONTRIBUTING doc for more details.
A complete list of all our awesome contributors found here: github.com/jcchavezs/cmb2-conditionals/graphs/contributors
Installation
If installing the plugin from wordpress.org:
- Upload the entire
/cmb2-conditionalsdirectory to the/wp-content/plugins/directory. - Activate CMB2 Conditionals through the 'Plugins' menu in WordPress.
- Copy (and rename if desired)
example-functions.phpinto to your theme or plugin's directory. - Edit to only include the fields you need and rename the functions.
- Profit.
统计信息
- 总下载量: 7.75k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 92
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2016-06-14