Pillar WP Registry grade B. Medium-severity findings · 2 findingsWP RegistryMedium-severity findings · 2 findingsOpen the reportB
Collection WordPress mini plugins (theme features) to apply theme-agnostic modifications
Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/itgalaxy/pillar/archive/refs/heads/master.zipOn Packagist as itgalaxy/pillar:
composer require itgalaxy/pillarCollection 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.
Changelog
License
Releases
2 releases.
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.