Add Fanwood Text font
This commit is contained in:
parent
0b80ef2001
commit
5382d3f1d7
BIN
fonts/fanwood-text/FanwoodText-Italic.ttf
Normal file
BIN
fonts/fanwood-text/FanwoodText-Italic.ttf
Normal file
Binary file not shown.
BIN
fonts/fanwood-text/FanwoodText-Regular.ttf
Normal file
BIN
fonts/fanwood-text/FanwoodText-Regular.ttf
Normal file
Binary file not shown.
13
fonts/fanwood-text/stylesheet.css
Normal file
13
fonts/fanwood-text/stylesheet.css
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
@font-face {
|
||||||
|
font-family: 'Fanwood Text';
|
||||||
|
src: url('FanwoodText-Regular.ttf') format('truetype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
@font-face {
|
||||||
|
font-family: 'Fanwood Text';
|
||||||
|
src: url('FanwoodText-Italic.ttf') format('truetype');
|
||||||
|
font-weight: normal;
|
||||||
|
font-style: italic;
|
||||||
|
}
|
@ -120,6 +120,7 @@ add_action( 'widgets_init', 'jeremy_wordpress_theme_widgets_init' );
|
|||||||
* Enqueue scripts and styles.
|
* Enqueue scripts and styles.
|
||||||
*/
|
*/
|
||||||
function jeremy_wordpress_theme_scripts() {
|
function jeremy_wordpress_theme_scripts() {
|
||||||
|
wp_enqueue_style( 'fanwood-text-font', get_template_directory_uri() . '/fonts/fanwood-text/stylesheet.css' );
|
||||||
wp_enqueue_style( 'jeremy-wordpress-theme-style', get_stylesheet_uri() );
|
wp_enqueue_style( 'jeremy-wordpress-theme-style', get_stylesheet_uri() );
|
||||||
|
|
||||||
wp_enqueue_script( 'jeremy-wordpress-theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
|
wp_enqueue_script( 'jeremy-wordpress-theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true );
|
||||||
|
Loading…
Reference in New Issue
Block a user