Return to Snippet

Revision: 19711
at October 29, 2009 07:41 by thesislab


Initial Code
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');

Initial URL

                                

Initial Description
This function assumes a custom print.css located in the custom folder.

Initial Title
Print.css reference for custom_functions.php in Thesis

Initial Tags
php, wordpress, printing

Initial Language
PHP