• I’ve got the “Print Friendly and PDF” plugin installed on my site and have put the custom code in the header to make the printer icon button appear just below the menu to the right. However, I would like it to be one of the menu options instead.

    If you look at my site http://www.timclare.com you will see the menu items Home, Latest, About Me, Past Productions, Gallery and Contact. I would like the css code that I have pasted into the header (<?php if(function_exists('pf_show_link')){echo pf_show_link();} ?>) to be a menu item like the others listed that simply says “Print”.

    If it’s also possible I would like to have it so that it appears on the right of the navigation bar so that it is separate from the others.

    Any ideas on creating a menu item that would enable me to have this code? I have tried adding it as a custom link to the menu, but as the print button appears on each page the link can’t be dynamic (I don’t think?)

    Many thanks for any help

Viewing 1 replies (of 1 total)
  • Thread Starter congo181

    (@congo181)

    I had an idea that if I could create a custom link (that adds on the page that i’m viewing) then I could add this as a menu item within the custom link section of the menus.

    However I don’t know if you can create a link that changes for each page, that works in the menu item. I’ve tried a few things, but none have worked yet!

    I guess I need something LIKE this http://www.printfriendly.com/print/v2?url= <?phpthe_permalink()?>

    However the <?phpthe_permalink()?> but doesn’t work in a simple custom menu field.

    Is there another way to produce the link of the page you’re on and add it to the first part of the link?

Viewing 1 replies (of 1 total)

The topic ‘Print Friendly and PDF mod’ is closed to new replies.