[Plugin: Print Friendly and PDF Button] Custom Footer
-
Is there a way to set it so a custom footer prints on every page? I have a health web site and want the disclaimer to print with all information.
http://www.karencollinsnutrition.com/smartbytes
Thank you!
-
Hi Lisa,
Sorry for the late response, I wasn’t receiving the alerts to for new forum posts.
You can include a custom header and custom message seen at the bottom of print-out (not on every page).
Here’s an article showing how to include a custom “Footer” in your print/pdf page.
Thank you! I was able to get that to work. Two more questions:
1. Can it be set to only allow pdf printing?
2. Can it be set to display a logo at the top of every printed page?
Thank you!
PDF only is not an option. Perhaps in the future.
The Logo only appears at the top of the first printed page. Will definitely keep this in mind for the future though.
I’m not seeing the logo at all. Not even on the first page. Is there a setting I need to adjust? I see the favicon and page url?
I re-activated the plugin so you can see what I mean – http://www.karencollinsnutrition.com/smartbytes/2012/10/23/video-interview-is-eating-less-really-key-to-weight-loss/
Ah, the custom header requires the JavaScript option. Can you change the PrintFriendly Plugin Settings to allow the JavaScript?
Perfect – thank you!
Dear PrintFriendly,
I would like to add the footer as well, as you described. But I want to insert it in every post automatically. I tried to put your code into the single.php of my theme, but it seems that printfriendly works around the theme anyway. Do you have any idea how I could implement that?
Within the single.php page add the custom footer directly below <?php the_content(); ?>
Single.php
<?php the_content(); ?> <p class="print-footer" style="display:none"> <img src="/mylogo.png">This is my tagline </p>It works fine thanks! Last time I didn’t have the class “print-footer” in it!
Hello
Great tool. This will be the top if there is a possibility to not print some text with shortcode or otherwise ..
Thank you for your reply. CordiallyYou can remove any element from the print/pdf by adding class=”print-no”.
Example:
<p class="print-no">Will not be printed/pdf</p> <img class="print-no" src="http...">Here’s a list of all custom Print Friendly & PDF commands. http://support.printfriendly.com/customer/portal/articles/526027-class-id-names-to-customize-printfriendly-content-features
I don’t like to modify the single.php to include a custom footer, just as any other personalization to the WP core.
Is there a way to avoid it modifying the custom css (sorry for the newbie question)?
In the future releases, would be nice to have an option box to do it.
TIA@14nc310t I’m not sure I follow. Do you have the URL to a page I can observe?
Shure, the page is: Click here
The button is only on the posts page.
In other words I would like to avoid any modifications to wp files (in case of WP upgrading I should propagate the modifications to the new release).
If it’s possible, I would like to insert the custom footer code in the custom css or, better, have a PrintFriendly box option to do it 🙂TIA for your great work!
Excellent idea. If you you use the Custom CSS feature, you could include the following in your CSS file.
@media print { #pf-print-area:after{ content:"This is my footer"; position: absolute; bottom: 0; } }
The topic ‘[Plugin: Print Friendly and PDF Button] Custom Footer’ is closed to new replies.