WP Manifestindependent plugin directory
manifest / builders / components

Components

Component manager

by Digital United · github.com/digitalunited/components · website

5stars
12kcomposer installs
0forks

Install

No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:

wp plugin install https://github.com/digitalunited/components/archive/refs/heads/master.zip

Also on Packagist as digitalunited/components:

composer require digitalunited/components

From the readme

Components # Installation 1. Install via composer 2. Activate plugin 3. Configure grunt Usage A component folder should be placed in the theme-directory following this structure: Every component will have their short-code registered and vcmapping set up. component.php A VCComponent have the following structure: A Standard component have the following structure: View In the views, all values returned from "sanetizeDataForRendering" will be accessible. eg. ['foo' = 'bar'] will be available like You may also use the component class, referenced as $component. eg: You may use separate view files depending on the $view-param, if "view" param is specified, $view.view.php will be rendered. Default: view.php It is possible to split a view file into partials: Performance When a slow registration of a component is detected the plugin will show an admin notice. Slow registration could be caused by by 2 reasons: - Dynamic population of params - Execution of tasks in the components main method. If the problem is due to Dynamic population of params there is an easy solution. Just add the following code as an early abort in the f

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.2.6Feb 7, 2024
v0.2.5Sep 4, 2018
v0.2.3Aug 28, 2018
v0.2.2Oct 26, 2017
v0.2.1Sep 26, 2017
0.2.0Sep 22, 2017
0.1.28Jun 7, 2017
0.1.27Mar 16, 2017
0.1.26Oct 20, 2016
0.1.25Sep 28, 2016
0.1.24May 2, 2016
0.1.23Apr 27, 2016
0.1.22Apr 27, 2016
0.1.21Jan 25, 2016
0.1.20Jan 20, 2016
0.1.19Dec 17, 2015
0.1.18Dec 15, 2015
0.1.15May 21, 2015
0.1.14May 8, 2015
0.1.13Apr 21, 2015
0.1.12Apr 13, 2015
0.1.11Apr 8, 2015
0.0.5Feb 10, 2015
0.0.4Feb 5, 2015
0.0.3Feb 4, 2015