This toolkit is a collection of Wordpress components to help you add customs and flexibles contents to the Wordpress back-end. Because the contributors don't have to know how to code, they should not have to write complex shortcodes. To help us with that, Visual Composer provides an easy way to build custom back-end interface. Timber will add a solid template system (Twig) to keep the shortcode logic away from your view, so there is no need to dive into the PHP to edit the rendered HTML.
Since there are build upon Visual Composer and Timber, you'll need to install these before using these components.
The easiest way to do so is to plug them to the wp-dummy-twig. If you don't want to use Visual Composer, you can still use them by excluding the vc_map
configuration. Timber however is what will produce the output of the shortcodes, so I highly recommand to use it.
Copy the component folder into lib/shortcodes/
and require it in the autoload.php
file.
The component will then be available in the components list under the dummy category.
Install the Timber plugin, then copy the folder where you want and require the autoload.php
file in the function.php
, remove the vc_map.php
file and inclusion. The shortcode should now be parsed and rendered.
Component | Description |
---|---|
dtnews | List news |