Dodatak nije testiran s zadnje 3 glavna izdanja WordPressa. Možda ga se više ne održava ili pruža podršku i možda ima probleme sa kompatibilnošću s novijim inačicama WordPressa.

ACF to WP-API

Opis

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).

ČPP

Installation Instructions
  1. Unzip and upload the acf-to-wp-api directory to /wp-content/plugins/.
  2. Aktivirajte dodatak kroz izbornik ‘Dodaci’ u WordPressu
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.

Recenzije

03. rujna 2016.
Thanks so much, finally a plugin that includes acf data directly to the posts output stream - made my day 🙂
03. rujna 2016. 1 odgovor
This works like a charm. Super easy... Good work!
Pročitajte svih 5 recenzija

Suradnici i Programeri

“ACF to WP-API” je softver otvorenog koda. Sljedeće osobe su doprinijele ovom dodatku.

Suradnici

Prevedite “ACF to WP-API” na svoj jezik.

Zainteresirani ste za razvoj?

Pregledajte kôd, pogledajte SVN spremišteili se pretplatite na dnevnik razvoja od RSS.

Dnevnik promjena

1.4.0

  • Compatibility improvements for WordPress 4.7

1.3.3

  • Compatibility fix for V2.0Beta9

1.3.2

  • Adds support for custom post types when using v2 of the REST API

1.3.1

  • Fix to support PHP < 5.4

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.