Created
October 28, 2015 21:27
-
-
Save digitalchild/3877a44eb367cbcede8c to your computer and use it in GitHub Desktop.
Custom WC Vendors Pro Dashboard Stylesheets
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
<?php | |
// Create a directory in your themes directory inside the wc-vendors template folder called css | |
// Add the following to your themes functions.php file | |
function custom_ink_css( $path ) { | |
return get_template_directory() . '/wc-vendors/css/ink.css'; | |
} | |
add_filter( 'wcv_pro_ink_style', 'custom_ink_css' ); | |
function custom_wcv_dash_css( $path ) { | |
return get_template_directory() . '/wc-vendors/css/dashboard.css'; | |
} | |
add_filter( 'wcv_pro_dashboard_style', 'custom_wcv_dash_css' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment