Hi caracole,
I’m going to look at this and see how to hide jetpack sharing buttons.
Once done, I’m going to reply here.
Best.
Hi caracole,
I just tested it, out of the box jetpack sharing buttons aren’t printed in the PDF.
I did a test with pages (jetpack sharing buttons are at the end of the page):
http://wp.dinamiko.com/demos/dkpdf/page-image-alignment/
And posts:
http://wp.dinamiko.com/demos/dkpdf/test-jetpack-sharing/
Can you send me more info for reproducing the problem? thanks.
Best.
Thread Starter
xis
(@caracole)
Hmm, weird,
You can have a look on this website: riurba.net
for example: http://riurba.net/2015/05/seminaire-genre-urbanisme/
Hi caracole,
try adding this code in your theme functions.php
https://gist.github.com/Dinamiko/6f78907247f64ed1aa97
I can’t test it because I don’t see the sharing buttons in the PDF, but I think that this code will work, what does is first look at if we’re in the PDF and then removes the sharing buttons.
please try it and tell me if it works, thanks.
Best.
Hi caracole,
did you try the above code? Just curious if it works, thanks.
Best.
Thread Starter
xis
(@caracole)
Hi,
Not yet, but it’s in my todo list, come back to you soonish
The code worked for me – I had the same problem.
Hi there,
Thanks Duuk for testing it. I’m going to wait a little and if Caracole don’t reply here, I’m going to mark this ticket as resolved.
Best.
Thread Starter
xis
(@caracole)
Hi,
Worked for me too, sorry for the delay.
Thanks Dinamiko, great support !
Hi caracole,
You’re welcome π
please mark this ticket as resolved, I can’t see the checkbox, thanks.
Best.
forget the last comment, the ticket is already marked as resolved π