Created
April 21, 2020 11:53
-
-
Save sarangs07/3d2053fb22d482d062110f1a2ca57534 to your computer and use it in GitHub Desktop.
Load theme's styles & scripts even if the page template is for page builders
This file contains 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
/* | |
* How to add the custome code. | |
* | |
* Please follow below instructions: | |
* 1. Copy the below code. | |
* 2. Open your child theme's functions.php file. | |
* 3. Paste the copied code at the very bottom of it & save the file OR upload it on your server/hosting. | |
*/ | |
add_filter( 'cartflows_remove_theme_styles', 'th_load_theme_files' ); | |
add_filter( 'cartflows_remove_theme_scripts', 'th_load_theme_files' ); | |
function th_load_theme_files( $remove_styles ){ | |
return $remove_styles = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment