Download the PHP package preseto/block-context without Composer
On this page you can find all versions of the php package preseto/block-context. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download preseto/block-context
More information about preseto/block-context
Files in preseto/block-context
Package block-context
Short Description WordPress plugin for showing or hiding Gutenberg blocks depending on context.
License GPL-2.0-or-later
Homepage https://blockcontext.com
Informations about the package block-context
Block Context for WordPress
A WordPress plugin to show or hide WordPress editor (Gutenberg) blocks in context.
Source of the Gutenberg Block Context plugin for WordPress.
Requirements
- WordPress 5.0+ or the Gutenberg Plugin.
- Composer and Node.js for dependency management.
- Vagrant and VirtualBox for local testing environment.
Install
-
Search for "Block Context" under "Plugins → Add New" in your WordPress dashboard.
-
Install as a Composer dependency:
composer require preseto/block-context
Feature Roadmap
See the roadmap.
Development
-
Clone the plugin repository:
git clone https://github.com/preseto/block-context.git cd block-context
-
Setup the development environment and tools using Node.js and Composer:
npm install
-
Start a virtual testing environment using Vagrant and VirtualBox:
vagrant up
which will be available at http://blockcontext.local after provisioning (username:
admin
, password:password
). -
Build the plugin JS and CSS assets:
npm run build
Screenshots
Credits
Created by Kaspars Dambis.