forked from AdvancedCustomFields/acf-field-type-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
47 lines (33 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
=== Advanced Custom Fields: {{field_label}} Field ===
Contributors: {{wp_user_name}}
Tags:
Requires at least: 3.4
Tested up to: 3.3.1
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
{{short_description}}
== Description ==
{{description}}
= Compatibility =
This add-on will work with:
* version 4 and up
* version 3 and bellow
== Installation ==
This add-on can be treated as both a WP plugin and a theme include.
= Plugin =
1. Copy the 'acf-{{field_name}}' folder into your plugins folder
2. Activate the plugin via the Plugins admin page
= Include =
1. Copy the 'acf-{{field_name}}' folder into your theme folder (can use sub folders). You can place the folder anywhere inside the 'wp-content' directory
2. Edit your functions.php file and add the code below (Make sure the path is correct to include the acf-{{field_name}}.php file)
`
add_action('acf/register_fields', 'my_register_fields');
function my_register_fields()
{
include_once('acf-{{field_name}}/acf-{{field_name}}.php');
}
`
== Changelog ==
= 0.0.1 =
* Initial Release.