DocsFrameworksWordPress

WordPress

Load the stylesheet once, then paste icons wherever HTML goes.

1 min readUpdated November 2026Fidgicons 1.0

functions.phpphp
// functions.php of your (child) theme
add_action('wp_enqueue_scripts', function () {
  wp_enqueue_style('fidgicons', get_stylesheet_directory_uri() . '/fidgicons.css');
});
<!-- a Custom HTML block -->
<a class="fidg-hover" href="/contact/">
  <svg class="fidg" viewBox="0 0 24 24">…</svg> Contact us
</a>
Something missing or unclear?Write to usRequest an icon