Skip to content

reatlat/wp-php-feather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Releases

No releases published

Packages

No packages published

Languages