-
Notifications
You must be signed in to change notification settings - Fork 15
/
readme.txt
executable file
·33 lines (23 loc) · 1.17 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
26
27
28
29
30
31
32
33
=== Advanced Custom Fields: Smart Button Field ===
Contributors: gillesgoetsch
Tags: acf, button, external, link
Requires at least: 4.0
Tested up to: 4.3.6.1
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
A simple, clean and lean ACF Field that allows the user to select an internal link as a post_object or an external link as a url field via a smooth toggle.
== Description ==
A simple, clean and lean ACF Field that allows the user to select an internal link as a post_object or an external link as a url field via a smooth toggle.
It always returns the url as the same field, whether it's an internal or external link. With button.target you can additionally add target="_blank" in your template without additional casing.
= Compatibility =
This ACF field type is compatible with:
* ACF 5
== Installation ==
1. Copy the `acf-smart-button` folder into your `wp-content/plugins` folder
2. Activate the Smart Button plugin via the plugins admin page
3. Create a new field via ACF and select the Smart Button type
4. Please refer to the description for more info regarding the field type settings
== Changelog ==
= 1.0.0 =
* Initial Release.