manifest / integrations / wordpress-plugin-headless-cms
Whitespace Headless CMS
Wordpress plugin that turns your site into a headless CMS
by Whitespace · github.com/whitespace-se/wordpress-plugin-headless-cms · website
★ 1stars
5kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/whitespace-se/wordpress-plugin-headless-cms/archive/refs/heads/main.zipAlso on Packagist as whitespace-se/wordpress-plugin-headless-cms:
composer require whitespace-se/wordpress-plugin-headless-cmsFrom the readme
Whitespace Headless CMS plugin for Wordpress
Wordpress plugin that turns your site into a headless CMS.
How to install
If you want to use this plugin as an MU-plugin, first add this to your
composer.json:
Where path/to/your/mu-plugins is something like wp-content/mu-plugins or
web/app/mu-plugins.
Then get the plugin via composer:
Features
Notify CI
Define the CINOTIFYURLS constant in you config (e.g. in wp-config.php) if
you need to trigger a build job in your CI tool. Example:
The value can be a single URL or multiple URLs either as an array or
comma-separated in a single string. You can also use the
WhitespaceHeadlessCms/cinotifyurls filter to alter the value.
You can use the {DESCRIPTION} placeholder to log what post caused the build to
be triggered if the CI tool supports that. You will see something like "Post 123
updated in WordPress" in the CI logs.