Useful UIKIT Code Snippets


Here are some useful UIKIT code snippets.

The snippets below are mostly sourced from searching online. This page is mostly for my own use so I can have everything in one place. Hopefully it might also come in useful for others. I will try to continually update this list.

Show Loaded UIKIT Components

This will display all loaded UIKIT components in the browser. Useful if you need to check that a component is actually being loaded.

// Shows UIKIT loaded components
add_action('wp_enqueue_scripts', 'custom_print_uikit_array');
function custom_print_uikit_array(){
global $_beans_uikit_enqueued_items;
print '<pre>';
print '</pre>';

Category: UIKIT

Notice: compact(): Undefined variable: limits in /home/sibience/public_html/wp-includes/class-wp-comment-query.php on line 853

Notice: compact(): Undefined variable: groupby in /home/sibience/public_html/wp-includes/class-wp-comment-query.php on line 853

No comment yet, add your voice below!

Add a Comment

Your email address will not be published. Required fields are marked *

Comment *
Name *
Email *