Bricks Tutorials
Download the Child-ThemeUsing the Child-Theme (Preferred)
- Head over to the Github Repo
- In Github click on the green “Code” Button
- Click “Download ZIP”
- Install the downloaded ZIP as a theme
The Files will get installed as Child-Theme and you don’t need to do anything more!
When the Child-Theme is installed you will need to enqueue the needed scripts page-wise whenever you need it like so:
<?php
wp_enqueue_script('SCRIPT_NAME');
wp_enqueue_style('STYLE_NAME');
add_action('wp_footer', function(){
// DO SOME STUFF LIKE PROVIDED IN THE TUTORIAL
}, 99);
?>
(Specific instructions how to enqueue certain elements can be found in the tutorials)
Manually Load The Files (advanced)
You can Copy & Paste the needed .js & .css files from Github into the Code Editor Plugin of your choice. You can also use the functions.php file of your custom child-theme to enqueue the files.
Make Sure to load the provided files before you are passing the options and initialize the Element.