Posted By

thesislab on 10/29/09


php wordpress printing thesis

Versions (?)

Who likes this?

1 person have marked this snippet as a favorite


Print.css reference for custom_functions.php in Thesis

 / Published in: PHP

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

  1. function my_print_sheet() {
  2. echo '<link type="text/css" media="print" href="' . THESIS_CUSTOM_FOLDER . '/print.css" rel="stylesheet" />';
  3. }
  4. add_action('wp_head', 'my_print_sheet');

Report this snippet  

You need to login to post a comment.