I just inherited a wordpress site and I dont know anything about php. I tried researching this but havnt had any luck. If someone could explain to me what's going on or point me in the right direction I would appreciate it.
I've got this code in my header.php:
<div style="text-align: right"><a href="<?=add_query_arg(array('print'=>''), $_SERVER['REQUEST_URI'])?>">View Printable</a></div>
Its obvious that this was intended to generate a print friendly version of every page, but when you click on it, it just brings up another copy of the original page as far as I can tell. something like:
Can anybody tell me what I can do to make this "view printable" work?
thanks
I've got this code in my header.php:
<div style="text-align: right"><a href="<?=add_query_arg(array('print'=>''), $_SERVER['REQUEST_URI'])?>">View Printable</a></div>
Its obvious that this was intended to generate a print friendly version of every page, but when you click on it, it just brings up another copy of the original page as far as I can tell. something like:
Can anybody tell me what I can do to make this "view printable" work?
thanks