Aaron.kr

Code • Data • Design • Education

Tag: FontAwesome

  • Coding an Advent Calendar: Day 3

    This year, I decided to create an Advent Calendar website in HTML5, CSS3, and JavaScript. My hopes for the site are to showcase some of my frontend development abilities as well as make something fun, functional, and reusable. Day 3 CSS bow & ribbon I wanted to make a bow for the present entirely out…

  • Quick Tip: How to Add FontAwesome (or Other Icon Fonts) to your WP Theme or Plugin

    So, you want to use FontAwesome in your Theme, eh? Add the following snippet to your functions.php file: wp_enqueue_style( ‘font-awesome’, ‘//netdna.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css’ ); Do you want to use it in your Plugin? Just place that code in one of your functions within your plugin file and hook into the wp_enqueue_scripts Action: add_action( ‘wp_enqueue_scripts’, ‘plugin_slug_load_iconfont’ ); function…