/ Published in: PHP
This function assumes a custom print.css located in the custom folder.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function my_print_sheet() { echo '<link type="text/css" media="print" href="' . THESIS_CUSTOM_FOLDER . '/print.css" rel="stylesheet" />'; } add_action('wp_head', 'my_print_sheet');