forked from jcchavezs/cmb2-conditionals
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
executable file
·25 lines (18 loc) · 1.07 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
=== CMB2 Conditionals ===
Contributors: [jcchavezs](https://github.com/jcchavezs)
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](http://www.gnu.org/licenses/gpl-2.0.html)
== Description ==
CMB2 Conditionals is a plugin for [CMB2](https://github.com/WebDevStudios/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.
== Installation ==
If installing the plugin from wordpress.org:
1. Upload the entire `/cmb2-conditionals` directory to the `/wp-content/plugins/` directory.
2. Activate CMB2 Conditionals through the 'Plugins' menu in WordPress.
2. Copy (and rename if desired) `example-functions.php` into to your theme or plugin's directory.
2. Edit to only include the fields you need and rename the functions.
4. Profit.