=== Fundamento === Contributors: w3dev,torchsmith Tags: elementor, skin, template Requires at least: 4.7 Tested up to: 5.9.2 Stable tag: 1.0.2 Requires PHP: 7.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Fundamento creates the ability to easily add custom skins into your Elementor-based Wordpress website. == Description == Have you ever wanted to alter the way Elementor renders one of its widgets on your website? Fundamento provides an easier way to achieve this by allowing you to inject extra CSS classes into Elementor's widgets. == Installation == 1. Upload the `fundamento` folder to your `plugins` directory 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Add the Fundamento function call to your Wordpress theme's `functions.php` file 4. Select a widget on your Elementor-enabled page and choose the custom skin you just enabled == Usage == Tell Elementor that you have a new skin available by utilizing the following code in your `functions.php` file: 1. Add an action to initialize Fundamento: add_action('init', 'fundamento_init'); 2. Add a call to Fundamento's `register_skin()` function: function fundamento_init() { // create a new Fundamento instance $f = \Fundamento\Plugin::instance(); // register a new skin $f->register_skin([ 'name' => 'Orange', // The name of your new skin, as it will appear in Elementor 'element' => 'button', // The elementor element you are skinning 'is_default' => true, // optional - should this skin be set by default on all elements of this type 'css' => get_stylesheet_directory_uri() . '/skins/button/orange.css', // optional - have Fundamento enqueue an extra css file 'js' => get_stylesheet_directory_uri() . '/skins/button/orange.js', // optional - have Fundamento enqueue an extra js file ]); } == Changelog == = 1.0.2 = * Fix plugin so it can add skins dropdown to any element = 1.0.1 = * Added is_default option. * Prevent Fundamento from double-enqueuing the same css/js file for an element. = 1.0 = * Our initial release.