Did you ever find a solution to this ? I’m also looking for this.
try:
.pf-src {display: none}
Not sure if that’s the right class just going off of what you put above.
Also, make sure your adjustment (css) loads AFTER the plugins css. CSS is read from the top down, so if they define “display: block” within the plugins css your code will have no affect.
Lets see if that helps. 🙂
I tried
.pf-src {display: none}
But it didn’t work, but I don’t know how I can make my adjustments load after the plugin css.
Post a link to your site so I can see please. 🙂
Give this a try:
#pdf {display: none;}
Unfortunately that doesn’t work either 🙁
I looked a bit further into this plugin and it looks to be hosted by the provider (3rd party). No wonder our changes don’t take affect. 🙂
Okay, here is what I want you to do.
#1. Go to your FTP and open the script “pf.php”. You should be able to find it here: “wp-content/plugins/printfriendly/pf.php”.
#2. Go to line 223 (should be around there). You are looking for these:
var pfHeaderImgUrl = "<?php echo $image_url ?>";
var pfHeaderTagline = "<?php echo $tagline ?>";
var pfdisableClickToDel = "<?php echo $this->options['click_to_delete'] ?>";
#3. Add this below the last option:
var pfDisablePDF = 1;
#4. Save the file and give it a try! This should remove the PDF option from the pop-up now properly.
If you are unsure how to do that just hit up my contact form on moonbase3.com and send your FTP details – I can go in and fix it up. 🙂
yes it does delete the PDF but I think we misunderstood each other somewhere along the lines.
What I’m trying to do is remove the URL from the site in the print friendly page, this part.
http://d.pr/i/kfXh
Howdy,
Sorry lost track of this topic.
This one is a bit more complicated.
FIRST create a css file and save it on your website with this in it:
.pf-src-name {display: none;}
.pf-src-url {display: none;}
SECOND add the below variable just like I had you do the PDF one above:
var pfCustomCSS = 'http://www.YOURSITE.com/css_file.css';
Change the url to your site and the style sheet you just created – where ever you loaded it.
Give it a try 🙂
You sir, are my superhero.
I’ve spend so much time searching for this and now thanks to you it works!
You have my eternal gratitude 😀
Might I impose you a little more with 1 more question?
If yes, read on.
If no, have a pleasant day 😀
Question:
Next to Print,PDF,E-mail, Should be text size, delete image and undo. For some reason they are algined underneath the print,pdf,email. I tried repositioning and resizing the text, in my chrome inspect element it works, but when I add it to the custom css file I made (with your help) it’s not working.
Any idea’s ?
Howdy,
It is showing up properly for me – can you take a screenshot and also post the code you put in the css so I can see. 🙂