Hi,
Can I have the URL to observe the issue?
Thanks.
Thread Starter
svsdnb
(@svsdnb)
Unfortunately no. It’s in dev and limited to intranet only at this point. I can share source code but that’s the best I can do.
Does this plugin not pick up on custom fields?
In the PrintFriendly Plugin Settings, find the option “Content Selected By:” and choose “Content Algorithm”.
If that doesn’t work, you’ll need to add class=”print-only” to the elements you want included. More on print friendly custom commands.
Hi there – I too am having this same issue; was this resolved? Please try to print or PDF this page: https://fireinthekitchen.ca/recipes/fk-firehall-chili/
The ‘Featured Spice’, ‘Instructions’ and ‘Ingredients’ do not print (they are custom fields).
Thanks.
@wwwsolutions
Use the JavaScript option. It’s a little better for getting the correct content.
Settings > PrintFriendly & PDF > Include JavaScript = Yes
Thread Starter
svsdnb
(@svsdnb)
I will give this a shot and let you know. Thank you.
Thread Starter
svsdnb
(@svsdnb)
This worked except in the PDF version the featured image is not added but the alt text. The image is displayed in the Print preview however.
Thread Starter
svsdnb
(@svsdnb)
And also, how would one incorporate info in the header into it. My header calls some of my custom field data as well. I’d hate to write in a no display class to 200 pages just to get that data in there.
Thank you.
Thread Starter
svsdnb
(@svsdnb)
I was able to add in a no display div class to the template file that recalled the custom field data so that this now populates in the print version.
So my only issue/question left is why the images that are viewable in the Print preview aren’t available in the PDF download.
I have Images = Include selected in the settings.
Are the images publicly available? If the images are behind a paywall (or secure folder), or on a local computer, we are unable to access to generate the PDF.
To solve you can make the images publicly available on the internet, or give PrintFriendly access to the image directory.
Grant access to these domains.
printfriendly.com
pdf.printfriendly.com
email.printfriendly.com