reatlat / wp-php-feather

WordPress template tag for Feather icons.

Home Page:https://github.com/reatlat/wp-php-feather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

wp-php-feather

WordPress template tag for Feather.

For more information on Feather itself, please refer to their README.

This is a fork of PHP class https://github.com/Pixelrobin/php-feather

ready to use in any WordPress Theme or Plugin

How to use

  1. import class-feather-icons.php to your theme or plugin, for example to /vendor/feather-icons folder
  2. add to functions.php line of code like require_once dirname( __FILE__ ) . '/vendor/feather-icons/class-feather-icons.php';

Use a static method to get icon Feather_Icons::get('icon-name-here');

Optional make helper function for your theme

Please check theme-function-helper.php file with function example.

License

Feather is licensed under the MIT License.

About

WordPress template tag for Feather icons.

https://github.com/reatlat/wp-php-feather

License:MIT License


Languages

Language:PHP 100.0%