這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Redirect Front-end to Login | Headless WP

外掛說明

Using WordPress entirely as a CMS (a Headless WordPress) is a plausible option for people building web apps using technologies such as React JS or Angular JS to entirely build their front-end.

Doing this, the front-end (e.g. built with React) becomes decoupled from the back-end (e.g. WordPress). Since WordPress is being used strictly to manage and serve the content via REST API, the WP front-end becomes unusable and unnecessary – hence the term “headless WordPress”.

This plugin essentially removes the front-end of WordPress.

Note that the REST API, and other non-front-end stuff should work as normal.

Features

  • No settings page
  • Allows backend access
  • Allows REST API endpoints
  • Redirects (403 Forbidden) all front-end pages to the login page

安裝方式

  1. Head over to Plugins > Add New in the admin
  2. Search for “Headless WP”
  3. Install & activate the plugin
  4. Now your entire front-end (aside from the login page) will become inaccessible.

常見問題集

Installation Instructions
  1. Head over to Plugins > Add New in the admin
  2. Search for “Headless WP”
  3. Install & activate the plugin
  4. Now your entire front-end (aside from the login page) will become inaccessible.
How do I use WordPress with React?

J.C. Hiatt has an awesome post about it in Medium: Headless WordPress with React

What is React JS?

I learned React from an article by Per Harald Borgen in Medium called Learn React.JS in 8 Minutes

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Redirect Front-end to Login | Headless WP〉的開發相關工作。

參與者

變更記錄

v1.0

  • Initial release