Αυτό το πρόσθετο δεν έχει δοκιμασθεί με τις 3 τελευταίες κύριες εκδόσεις του WordPress. Μπορεί να μην αναπτύσσεται ή να υποστηρίζεται άλλο και να έχει προβλήματα συμβατότητας με τις πιο πρόσφατες εκδόσεις του WordPress.

WP Headless CMS Framework

Περιγραφή

Plugin provides a framework sets up WordPress as a headless CMS.

Framework options include:

  • JSON Web Token Authentication (optional)
  • Adds Gutenberg block data to REST responses (optional)
  • Protects REST requests with nonce (optional)
  • Cleans up REST response objects (optional)
  • Removes non required REST endpoints (optional)
  • Disables the frontend (optional)

All modules can be enabled/disabled or configured to suit most if not all WordPress as a headless CMS use cases.

Developing a single page React app but still want to use the WordPress theme based fronted.

Not a problem, maybe you just use these modules:

  • Adds Gutenberg block data to REST responses
  • Protects REST requests with nonce
  • Cleans up REST response objects
  • Removes non required REST endpoints

Developing a truly headless WordPress single page app or mobile app and just want WordPress for the backend?

Maybe use these modules:

  • JSON Web Token Authentication
  • Adds Gutenberg block data to REST responses
  • Protects REST requests with nonce
  • Cleans up REST response objects
  • Removes non required REST endpoints
  • Disable the WordPress frontend

You get the idea.

The plugin documentation is held inside the plugin ‘options’ page in the WordPress admin, although there are some docs for the custom rest endpoints:

Learn More about plugin endpoint requests

Anyway if you are looking to use WordPress as a headless CMS on a React, React Native, Angular, iOS/Android native project. This plugin should go a long way to setting WordPress up as you need it.

Εγκατάσταση

  1. Upload plugin folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to WP REST Headless admin menu for the framework documentation

Συχνές Ερωτήσεις

The plugin is configured using WordPress filters. What!! why no admin options page you ask?

Well the whole point of a REST API is speed right!? Fetching tons of options from the database slows things down.

Anyway, we’re developers we can handle 5 min of configuration.

The plugin documentation is held inside the plugin ‘options’ page in the WordPress admin, although there are some docs for the custom rest endpoints:

Learn More about plugin endpoint requests

Κριτικές

7 Μαΐου 2020
headless wp will give lot of very cool new possibilities! congrats great work

THX

24 Απριλίου 2020
I like your plugin! Keep on going with this one! 🙂
Ανάγνωση όλων των 2 κριτικών

Συνεισφέροντες & Προγραμματιστές

“WP Headless CMS Framework” είναι λογισμικό ανοιχτού κώδικα. Οι παρακάτω έχουν συνεισφέρει στη δημιουργία του.

Συντελεστές

Το “WP Headless CMS Framework” έχει μεταφραστεί σε 2 γλώσσες. Ευχαριστούμε τους μεταφραστές για τις συνεισφορές τους.

Μεταφράστε το “WP Headless CMS Framework” στην γλώσσα σας.

Ενδιαφέρεστε για την ανάπτυξη;

Περιηγηθείτε στον κώδικα, ανατρέξτε στο αποθετήριο SVN ή εγγραφείτε στο αρχείο καταγραφής αλλαγών ανάπτυξης μέσω RSS .

Σύνοψη αλλαγών

1.0

Inital commit to plugin repo

1.1

Made rest cleanup more specific
Improved cleanup detection code – credit ‘Daniele Scasciafratte’ https://wordpress.org/support/users/mte90/
Added ability for JWT get-token requests to bypass nonce check if enabled
Updated docs

1.15

Confirmed WP 5.4 compatibility