Wordpress integration

1. Move Little Widgets files (little-widgets.css, little-widgets.js) to the root folder of your WordPress theme (wp-content/themes/YOUR_THEME) using any FTP client (FileZilla, Transmit etc).

2. Find a file "template-functions.php" (YOUR_THEME/inc/template-functions.php) and add this code at the end of this file.

* Adding Little Widgets to Wordpress
function add_little_widgets() {
    wp_enqueue_style( 'little-widgets', get_stylesheet_directory_uri() . '/little-widgets.css' );
    wp_enqueue_script( 'little-widgets', get_template_directory_uri() . '/little-widgets.js' );
add_action( 'wp_enqueue_scripts', 'add_little_widgets' );

3. Add Little Widget HTML code

Click "Appearance" and go to "Editor" page
In a section "Theme files" on the right side, select a file "Theme Footer (footer.php)", paste HTML code before body closing tag (</body>) and press a button "Update File"

Done! You just integrated Little Widgets with your WordPress. Now you can insert any widget in "footer.php".

Enjoy Little Widgets!

Start using Little Widgets
Purchase for $49
HTML/CSS/Sketch  •  Free updates  •  30-day money back
Do you like us?
Spread the word
Thank you! ❤️