Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

WP REST API Frontpage

Mô tả

This plugin extends the WordPress WP REST API with new routes for WordPress the static frontpage if a frontpage is set.

The new routes available will be:

  • wp-json/wp/v2/frontpage outputs the frontpage page object

Cài đặt

This plugin requires having WP REST API installed and activated or it won’t be of any use. Since WordPress 4.7 the WP REST API has been merged in the WordPress core, so this plugin might not be needed any longer.

Install the plugin as you would with any WordPress plugin in your wp-content/plugins/ directory or equivalent.

Once installed, activate WP REST API Frontpage from WordPress plugins dashboard page and you’re ready to go, WP REST API will respond to the new route and endpoint.

Make sure you have selected a static frontpage at ‘Settings > Reading >
Front page displays’. Choose ‘A static page (select below)’, and select a front page from the drop down menu. Don’t forget to safe!

Hỏi đáp

Installation Instructions

This plugin requires having WP REST API installed and activated or it won’t be of any use. Since WordPress 4.7 the WP REST API has been merged in the WordPress core, so this plugin might not be needed any longer.

Install the plugin as you would with any WordPress plugin in your wp-content/plugins/ directory or equivalent.

Once installed, activate WP REST API Frontpage from WordPress plugins dashboard page and you’re ready to go, WP REST API will respond to the new route and endpoint.

Make sure you have selected a static frontpage at ‘Settings > Reading >
Front page displays’. Choose ‘A static page (select below)’, and select a front page from the drop down menu. Don’t forget to safe!

Đánh giá

Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“WP REST API Frontpage” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Nhật ký thay đổi

1.0.1

  • First public release