<?php/* ------------------------------------------------------- Enqueue CSS from child theme style.css-------------------------------------------------------- */functioncrum_child_css(){wp_enqueue_style('child-style',get_stylesheet_uri());/*---------- ADD THIS CODE ------------*/wp_enqueue_style('child-custom-fonts',get_stylesheet_directory_uri().'/fonts/fonts.css');// Link to css file of your custom font./*-----------END CODE-----------*/}add_action('wp_enqueue_scripts','crum_child_css',99);/* ------------------------------------------------------- You can add your custom functions below-------------------------------------------------------- */
Comments (0)
HTTPSSSH
You can clone a snippet to your computer for local editing.
Learn more.