Last active
August 29, 2015 14:17
-
-
Save richerimage/e06fe29e8b62d04b6947 to your computer and use it in GitHub Desktop.
Add fonts to Thesis 2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class dna_custom_class extends thesisdna { | |
| public function __construct() { | |
| add_filter('thesis_fonts', array($this, 'add_my_font')); | |
| } | |
| public function add_my_font($fonts) { | |
| $fonts['bangers'] = array( | |
| 'name' => 'Bangers', | |
| 'family' => 'Bangers, sans-serif'); | |
| return $fonts; | |
| } | |
| } new dna_custom_class; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment