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
- import
class-feather-icons.php
to your theme or plugin, for example to/vendor/feather-icons
folder - add to
functions.php
line of code likerequire_once dirname( __FILE__ ) . '/vendor/feather-icons/class-feather-icons.php';
Use a static method to get icon Feather_Icons::get('icon-name-here');
Please check theme-function-helper.php
file with function example.
Feather is licensed under the MIT License.