Created
June 22, 2016 14:04
-
-
Save anonymous/0c77a3cfc8e1a2f50b67d23b26136535 to your computer and use it in GitHub Desktop.
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
/* 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