forked from times/acf-to-wp-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
readme.txt
60 lines (36 loc) · 1.42 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
=== ACF to WP-API ===
Contributors: chrishutchinson, kokarn, ramvi
Tags: acf, api, wp-api
Requires at least: 3.9.0
Tested up to: 4.3.0
Stable tag: 1.3.0
License: MIT
License URI: http://opensource.org/licenses/MIT
Plugs Advanced Custom Fields (ACF) data into the WordPress JSON API (WP-API).
== Description ==
Puts all ACF fields from posts, pages, custom post types, comments, attachments and taxonomy terms, into the WP-API output under the 'acf' key. Creates a new `/option` endpoint returning options (requires ACF Options Page plugin).
== Installation ==
1. Unzip and upload the `acf-to-wp-api` directory to `/wp-content/plugins/`.
2. Activate the plugin through the 'Plugins' menu in WordPress
== Frequently Asked Questions ==
= How can I log and issue or contribute code? =
See the `CONTRIBUTING.md` file.
= How can I filter posts on a custom field?
See GitHub issue #13 (http://github.com/times/acf-to-wp-api/issues/13) for example code to do this.
== Screenshots ==
== Changelog ==
= 1.3.0 =
* Add support for v2 of WP-API
* Restructure of much of the code, adding documentation throughout
* Add an additional endpoint for requesting single option values
* Tested with WordPress 4.3.0
= 1.2.1 =
* Tested with WordPress 4.2.1
= 1.2.0 =
* Added ACF data to comments (Thanks @ramvi).
= 1.1.0 =
* Add `option` endpoint for ACF options add-on (Thanks @kokarn).
= 1.0.1 =
* Fix for addACFDataTerm.
= 1.0.0 =
* Initial release.