Created
October 30, 2017 13:18
-
-
Save bigdigital/3efa918bc9dc0d54cb76229057346752 to your computer and use it in GitHub Desktop.
VC force init css styles
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
add_filter('vc_before_init_base', 'lid_force_fron_css'); | |
function lid_force_fron_css() { | |
if ( !is_admin() ) { | |
visual_composer()->initPage(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment