This repository has been archived by the owner on Feb 3, 2023. It is now read-only.
Add Remove Deactivate styles
Zsolt Revay edited this page Feb 9, 2017
·
4 revisions
REMOVE PARENT SCRIPTS & STYLES
you can place this directly into child theme's functions.php
Disable & Remove google font call and typography style (set from the option panel)
Don't want to use the custom font functionality? This will disable the google font call and the generated typography style. They will never render on the front end.
add_action( 'wp_enqueue_scripts', 'remove_parent_styles',100 );
function remove_parent_styles(){
// Deregister custom theme font.
wp_deregister_style('theme_main_font');
}
###Hooks and template components
###CSS filters (frontend CSS setup)
###Typography
###Pluggable Functions
- Pluggable template components functions
- Pluggable CSS class markup functions (used on front end architecture)
###Sripts and styles