bpong / wordpress-headless
Custom WordPress theme for headless applications
0.3.1
2020-11-26 13:21 UTC
Requires
- php: >=7.2
- bpong/wordpress-integration-test-bench: 0.1.4
- league/container: ^3.3
- league/fractal: 0.19.2
- league/plates: ^3.3
- nesbot/carbon: 2.36.1
- nyholm/psr7: 1.3.0
- nyholm/psr7-server: 1.0.0
- symfony/http-foundation: v5.0.11
- tightenco/collect: v7.19.1
Requires (Dev)
- 10up/wp_mock: ^0.4.2
- inpsyde/wonolog: ^1.0
- monolog/monolog: 2.0.2
- phpunit/phpunit: 7.5.20
- squizlabs/php_codesniffer: ^3.5
- symfony/var-dumper: ^4.3
This package is not auto-updated.
Last update: 2024-04-12 05:23:03 UTC
README
WordPress Headless
A simple theme for headless WordPress applications. Performs clean up on default WordPress instances:
- Redirects all non-REST API requests to a configured target
- Removes most theme support
- Adds excerpt to pages post types and overrides default to return empty string when excerpt is not set
- Removes theme customizer sections and panels, including WooCommerce
Installation
- Clone this repo to the
wp-content/themes
directory in a WordPress installation - Activate the theme via the Appearance | Themes menu in WordPress admin or via WP-CLI
- Copy the file
.env-example
to.env
and update configuration properties
License
WordPress Headless is open-sourced software copyright ©2019 by Robert Pratt and licensed under the GPLv3 license.