Skip to content

Instantly share code, notes, and snippets.

@digitalchild
Created October 28, 2015 21:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save digitalchild/3877a44eb367cbcede8c to your computer and use it in GitHub Desktop.
Save digitalchild/3877a44eb367cbcede8c to your computer and use it in GitHub Desktop.
Custom WC Vendors Pro Dashboard Stylesheets
<?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