-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathREADME.txt
71 lines (46 loc) · 2.3 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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
=== ACF-Collector ===
Contributors: stuzzo
Donate link: https://www.paypal.me/stuzzo
Tags: acf, advanced, custom, field, fields, rest, api
Requires Wordpress: 4.7
Requires Advanced Custom Fields: 5.0
Stable tag: 1.0.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
It appends automatically to the current request all the custom fields used in the current content (e.g. Pages, Posts, etc.)
== Description ==
This plugin retrieves automatically all the custom fields added by you with the Advanced Custom Fields plugin.
Are you tired to use several times the ACF function `get_field` and remember all the field keys?
Do you want all the custom fields that you added on the Wordpress Rest API endpoints?
Do you want to have all the custom fields on the global `post` that you have on your template?
The ACF Collector plugin appends your custom fields on pages, posts, taxonomies and all the Wordpress objects supported by the ACF plugin.
You have to do nothing, just activate the plugin and configure which fields you want to be injected.
== Installation ==
This section describes how to install the plugin and get it working.
1. Upload `acf-collector` to the `/wp-content/plugins/` directory
1. Activate the plugin through the 'Plugins' menu in WordPress
1. Test if the plugin is active requesting `http(s)://yourhost/wp-json/wp/v2/posts`, you should see an entry key `acf_collector_field`
== Frequently Asked Questions ==
= Is it required ACF (Advanced custom fields)? =
Yes, it is. You must have ACF (at least version 5.0) installed and activated.
= What Wordress objects are supported? =
The same objects supported by the ACF plugin:
- pages
- posts
- taxonomies
- users
- and so on
= Does the plugin supports all the ACF field types? =
Yes
= How can I notify an issue or ask for support? =
You can use the [support section of the plugin](https://wordpress.org/support/plugin/acf-collector/) or you can add an issue to [GitHub](https://github.com/stuzzo/acf-collector/).
== Links ==
* [GitHub](https://github.com/stuzzo/acf-collector/)
* [Support](https://wordpress.org/support/plugin/acf-collector/)
== Screenshots ==
1. Rest API example response
2. Dump post data in template
3. Field setting to enable injection in api and template response
== Changelog ==
= 1.0.0 =
* Initial plugin release