All Projects → soberwp → Intervention

soberwp / Intervention

Licence: mit
WordPress plugin to configure wp-admin and application state using a single config file.

Projects that are alternatives of or similar to Intervention

Live Composer Page Builder
Free page builder plugin for WordPress http://livecomposerplugin.com
Stars: ✭ 143 (-70.27%)
Mutual labels:  wordpress-api, wordpress, wordpress-development, wordpress-plugin
Co Cart
🛒 CoCart is a flexible, open-source solution to enabling the shopping cart via the REST API for WooCommerce.
Stars: ✭ 198 (-58.84%)
Mutual labels:  wordpress, wordpress-development, woocommerce, wordpress-plugin
Restsplain
WordPress REST API documentation generator
Stars: ✭ 126 (-73.8%)
Mutual labels:  wordpress-api, wordpress, wordpress-plugin
Create React Wptheme
Create modern, React-enabled WordPress themes with a single command.
Stars: ✭ 252 (-47.61%)
Mutual labels:  wordpress-api, wordpress, wordpress-development
wordpress
📚 Recursos para aprender WordPress
Stars: ✭ 20 (-95.84%)
Mutual labels:  wordpress-plugin, wordpress-development, woocommerce
Code Snippets
Code Snippets WordPress Plugin
Stars: ✭ 226 (-53.01%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Ultimate Fields
The plugin for custom fields in WordPress
Stars: ✭ 39 (-91.89%)
Mutual labels:  wordpress-api, wordpress, wordpress-plugin
Woocommerce.net
A .NET Wrapper for WooCommerce/WordPress REST API
Stars: ✭ 247 (-48.65%)
Mutual labels:  wordpress-api, woocommerce, wordpress-plugin
Fabrica Dev Kit
A toolkit for faster, smoother WordPress 5 development
Stars: ✭ 256 (-46.78%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Admin Page Framework
Facilitates WordPress plugin and theme development.
Stars: ✭ 273 (-43.24%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Awesome Woocommerce
Plugins and code snippets to improve your WooCommerce store.
Stars: ✭ 279 (-42%)
Mutual labels:  wordpress, woocommerce, wordpress-plugin
Awesome Wp Developer Tools
A collection of plugins, starter themes and tools to make WordPress development easier.
Stars: ✭ 388 (-19.33%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Codestar Framework
A Simple and Lightweight WordPress Option Framework for Themes and Plugins
Stars: ✭ 147 (-69.44%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Better Rest Endpoints
A WordPress plugin that serves up slimmer WP Rest API endpoints.
Stars: ✭ 56 (-88.36%)
Mutual labels:  wordpress-api, wordpress, wordpress-plugin
Woocommerce Coupon Links
A WordPress plugin to automatically apply WooCommerce coupon codes to the cart via a URL.
Stars: ✭ 127 (-73.6%)
Mutual labels:  wordpress, woocommerce, wordpress-plugin
Login Designer
Official repository of the Login Designer WordPress Plugin
Stars: ✭ 97 (-79.83%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Wp Functions List
This is a list of all WordPress functions from version 0 to version 4.8.1 along with the data of when they were first introduced and if they are deprecated or not
Stars: ✭ 88 (-81.7%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
Dynamic Featured Image
Dynamically adds multiple featured image (post thumbnail) functionality to posts, pages and custom post types
Stars: ✭ 96 (-80.04%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin
rest-api-endpoints
🌾 WordPress REST API endpoints
Stars: ✭ 31 (-93.56%)
Mutual labels:  wordpress-plugin, wordpress-development, wordpress-api
Super Progressive Web Apps
SuperPWA helps to convert your WordPress website into Progressive Web Apps instantly. PWA (Progressive Web Apps) demo at : https://superpwa.com and Plugin :
Stars: ✭ 304 (-36.8%)
Mutual labels:  wordpress, wordpress-development, wordpress-plugin

Intervention

Easily customize wp-admin and configure application options.

Installation

Composer/Bedrock

$ composer require soberwp/intervention:dev-master
$ wp plugin activate intervention

WP-CLI

$ wp plugin install https://github.com/soberwp/intervention/archive/master.zip --activate

Requirements:

Usage

Create config/intervention.php for Sage 10, resources/intervention.php for Sage 9, or intervention.php inside your theme root folder and return an array.

<?php

return [
    'application' => [

    ],
    'wp-admin.$role|$username' => [

    ],
];

For the options, you can use dot notatation, a standard array, or a combination.

Admin

Remove components from wp-admin.

Return wp-admin.$role or wp-admin.$username

  • Support for multiple user roles using a pipe operator.
    • editor|author
<?php

return [
    'wp-admin.$role|$username' => [
        'common.adminbar',
    ],
];

User Roles

  • all
  • all-not-administrator (shortcut alias)
  • administrator
  • author
  • editor
  • contributor
  • subscriber

Options

Login

Common

Dashboard

Posts

Media

Pages

Comments

Appearance

Plugins

Users

Tools

Settings

Application

Set application options.

  • Options are automatically changed to read only fields in wp-admin.
  • Options can be placed under version control.

Return application.

<?php

return [
    'application' => [
        'general' => [
            'tagline' => 'Intervention',
            'wp-address' => 'https://soberwp.com/wp',
            'site-address' => 'https://soberwp.com',
            'admin-email' => '[email protected]',
            'membership' => false,
            'default-role' => 'editor',
            'language' => 'en_US',
            'timezone' => 'Africa/Johannesburg',
            'date-format' => 'F j Y',
            'time-format' => 'g:i a',
            'week-starts' => 'Mon',
        ],
    ],
];

Options

Quick Reference

Updating

Composer:

  • Change the composer.json version to ^2.0.0**
  • Check CHANGELOG.md for any breaking changes before updating.
$ composer update

WordPress:

Includes support for github-updater to track updates through wp-admin.

Roadmap

  • Better visual documentation.
  • Better support for the block editor.
  • Support wp-admin custom post types.

Have a suggestion, or want to track new releases? @soberwp

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].