itgalaxy / pillar
Collection WordPress mini plugins (theme features) to apply theme-agnostic modifications
Requires
- php: ^5.6 || ^7.0
- chrisjean/php-ico: ^1.0.4
- composer/installers: ^1.0.0
- itgalaxy/bmp2image: ^2.0.0
Requires (Dev)
- phpunit/phpcov: ^4.0.1
- phpunit/phpunit: ^6.1.4
This package is auto-updated.
Last update: 2026-06-12 14:02:07 UTC
README
Collection WordPress mini plugins (theme features) to apply theme-agnostic modifications.
Requirements
| Prerequisite | How to check | How to install |
|---|---|---|
| PHP >= 5.6.x | php -v |
php.net |
Installation
You can install this plugin via the command-line or the WordPress admin panel.
Via Command-line
If you're using Composer to manage WordPress,
add Pillar to your project's dependencies.
composer require itgalaxy/pillar
Then activate the plugin via wp-cli.
wp plugin activate pillar
Via WordPress Admin Panel
- Download the latest zip of this repo.
- In your WordPress admin panel, navigate to
Plugins->Add New - Click Upload Plugin
- Upload the zip file that you downloaded.
Usage
- Activate this plugin
- Open
function.phpfile in your theme. - Add this code for enable mini plugin.
add_action('after_setup_theme', function () { add_theme_support('pillar-head-clean-up'); // List of all features placed below });
Features
What is Feature
-
Widely applicable. The features we distribute need to be of importance to a large number of developers. Individual preferences for uncommon patterns are not supported.
-
Generic. Features cannot be so specific that users will have trouble understanding when to use them.
-
Atomic. Features must function completely on their own. Features are expressly forbidden from knowing about the state or presence of other features. Area of responsibility should be only one (one feature - one area of responsibility).
-
Unique. No two features can produce the same things.
-
No conflicts. No feature must directly conflict with another feature.
-
Theme-agnostic. No styles, no scripts, no images and other stuff.
-
Open source. No commercial services, packages, libraries and files.
-
Simple. Only action and filters.
- No register new post types, taxonomies, widgets and shortcodes.
- No database schema modification.
- No public api for use in plugins, themes and etc.
- No new markup elements on front-end (buttons, tables, lists and etc).
List
Comming soon...
Contribution
Feel free to push your code if you agree with publishing under the MIT license.