Headless
Adds features to use WordPress as a headless CMS: extra fields and prepared block content on the REST API, custom routes for menus and site settings, a preview that points at your frontend instead of the WordPress theme, and cache revalidation for frontends that support it. Configuration The plugin is configured with constants in wp-config.php: HEADLESS_HEAD_BASE_URL — base URL of your frontend. Preview and revalidation requests go here. HEADLESS_SECRET_TOKEN — shared token sent to the frontend’s /api/preview and /api/revalidate endpoints. HEADLESS_API_KEY_HEADER_KEY and HEADLESS_API_KEY_HEADER_VALUE — require this HTTP header on requests that use the plugin’s REST additions. Who can read the responses The plugin’s REST additions activate on requests carrying ?headless=true. That query parameter is a routing flag, not authentication — anyone can set it. Unless you configure HEADLESS_API_KEY_HEADER_KEY and HEADLESS_API_KEY_HEADER_VALUE, the /headless/v1/menus and /headless/v1/settings routes and the added post fields are readable by anyone who can reach your REST API. Configure the API key if that is not what you want. HEADLESS_SECRET_TOKEN is a single shared secret, and the admin pages hand it to the browser so the editor can open a preview. Every user who can edit posts — Contributor upwards — can therefore read it and use it against your frontend’s preview and revalidation endpoints directly. Treat it as a secret shared with your whole editorial team, and give the frontend its own rate limiting. Arbitrary section BREAKING CHANGE 1.7.0: core/block for block references has changed
WindPress – Tailwind CSS integration for WordPress
WindPress: the only Tailwind CSS v3 and v4 integration plugin for WordPress. WindPress is a platform agnostic Tailwind CSS integration plugin for WordPress that allows you to use the full power of Tailwind CSS within the WordPress ecosystem. Tailwind CSS version: – 3.4.19 – 4.3.3 Features WindPress is packed full of features designed to streamline your workflow. Some of our favorites are: Dual Tailwind CSS version: Tailwind CSS 3.x and 4.x ready. Plug and play: Start using Tailwind CSS in WordPress in seconds — no setup is required. Customizable Configuration: The plugin comes with a default Tailwind CSS configuration, but you can easily customize it to fit your needs. Easy to use: Simplified and intuitive settings to get you up and running quickly. Lightweight: The plugin dashboard built on top of WordPress REST API, and a modern JavaScript framework for an instant, responsive user experience. Yet it has a small footprint and won’t slow down your site. Blazingly fast: Cache makes your WordPress site blazing fast. Generate the final optimized CSS file in the browser without server-side tools. None of your data is transferred over the network. And some specific integrations also include the following features: Autocompletion: As you type, Tailwind CSS class names will be suggested automatically. Variable Picker: Easily select Tailwind CSS themes’ colors, fonts, and other variables from a panel. HTML to native elements: Convert Tailwind CSS HTML to native elements in the editor. Sort the classes: Sort the Tailwind CSS classes on the input field. Hover Preview the classes: Hover over the classes to see the complete outputted CSS and the preview of the design canvas. Ubiquitous Panel: A floating panel that allows you to quickly access the WindPress settings from anywhere on the page. Visit our website for more information. Seamless Integration It’s easy to build design with Tailwind CSS thanks to the seamless integration with the most popular visual/page builders: Gutenberg / Block Editor GreenShift Kadence WP LiveCanvas Timber Blockstudio — Pro Breakdance — Pro Bricks — Pro Builderius — Pro Etch — Pro Meta Box Views — Pro Oxygen 6 / Classic — Pro WPCodeBox 2 — Pro Planned / In Progress Elementor Divi Pinegrow Zion Builder Note: The core feature will remain available on all versions, but some integrations may be added or removed from the free version in the future. Bring Your Own Integration WindPress is designed to be easily extensible, so you can build your integrations with Tailwind CSS. The plugin provides a simple API for adding integrations. Check out our detailed guide to get started. Love WindPress? Give a 5-star review Purchase the Pro version Join our Facebook Group Sponsor us on GitHub or Ko-fi Credits Image by Pixel perfect on Flaticon Affiliate Disclosure: This readme.txt may contain affiliate links. If you decide to make a purchase through these links, we may earn a commission at no extra cost to you.