Skip to content

Instantly share code, notes, and snippets.

/add-print.css
Created Jun 22, 2016

Embed
What would you like to do?
/* Die korrekte Funktion zum Hinzufügen des print.css */
function drweb_print_styles(){
wp_enqueue_style(
'drweb-print-style',
get_stylesheet_directory_uri() . '/css/print.css',
array(),
'20130821',
'print' // print styles only
);
}
add_action( 'wp_enqueue_scripts', 'drweb_print_styles' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.