Add Print Friendly and PDF button manually

General questions pertaining to how certain issues can be resolved
Forum rules
1. No offensive language and no mocking
2. Please do a thorough search before you post something. Trust us, there is a high probability that the question you are asking has been asked previously.
3. No soliciting. You cannot post here soliciting bids for people offer you quotes, or even offer money to people for some work. You will be moderated if you do so. If you are looking for help, please post your request on http://jobs.wordpress.net or http://codepoet.com
4. Please be reasonable. You are getting software and support. For free. Complicated requests from a general purpose theme are not welcome and some volunteers might lose patience with you.
5. Please do your due diligence. If you posted a query and we answered with a link, take the trouble to go through the link contents.
6. Please post with complete information. Requests for help MUST be accompanied with your URL, particularly if you are asking something like "Why am I seeing a blank space?"

Add Print Friendly and PDF button manually

Postby janbletz » 22 Jul 2012, 10:06

I'd like to use the Print Friendly and PDF-plugin. A very nice plugin, which makes it possible to print Wordpress articles and pages anyway you want to.

Unfortunately, the plugin shows the button in the 'excerpts' in the slider with featured content, even though it is only supposed to add a button at the bottom of posts and pages. (Probably Wordpress treats an excerpt as if it were a post).

Not a big deal, but I'd like to do away with the button at the bottom of the excerpt. One possibility would be to display the first few lines of a post in the slider with featured content, but I think suffusion doesn't allow this.

The plugin does have a possiblity to add the button manually by adding the following code in the template: <?php if(function_exists('pf_show_link')){echo pf_show_link();} ?>
But where should I add the code exacly? What is 'the template'? Suffusion ís the template, or isn't it?! So, to which php-file should I add this code? (And to which line?)

Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam

Re: Add Print Friendly and PDF button manually

Postby Colin » 22 Jul 2012, 10:13

You are better off hiding it with CSS for the slider rather than editing files.

With your url we may be able to suggest some CSS for you. Forum rule #6
Colin
 
Posts: 2797
Joined: 27 Oct 2009, 10:46

Re: Add Print Friendly and PDF button manually

Postby janbletz » 31 Jul 2012, 08:05

Thank you!

Here's the URL: http://www.respons.co.nl/

Jan

Colin wrote:You are better off hiding it with CSS for the slider rather than editing files.

With your url we may be able to suggest some CSS for you. Forum rule #6
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam

Re: Add Print Friendly and PDF button manually

Postby Colin » 31 Jul 2012, 08:47

Try this in Suffusion Options > Back End > Custom Includes > Custom Styles

Code: Select all
.sliderimage .printfriendly {display:none;}
Colin
 
Posts: 2797
Joined: 27 Oct 2009, 10:46

Re: Add Print Friendly and PDF button manually

Postby janbletz » 31 Jul 2012, 13:03

I´m afraid this didn´t work.

I copy/pasted the code, but to no avail.

Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam

Re: Add Print Friendly and PDF button manually

Postby Colin » 31 Jul 2012, 13:51

Jan

Try this

Code: Select all
.sliderimage .printfriendly, .sliderimage .printfriendly a img, .sliderimage .printfriendly a{display:none;}


If that doesn't work and if you want to set me up with a temporary admin account I will have another go for you. Send me the details by PM if you do. I don't think my code is far off.
Colin
 
Posts: 2797
Joined: 27 Oct 2009, 10:46

Re: Add Print Friendly and PDF button manually

Postby janbletz » 01 Aug 2012, 01:24

Thank you, have sent you a PM (I think).

Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam

Re: Add Print Friendly and PDF button manually

Postby Colin » 01 Aug 2012, 04:08

I have sorted this for anyone else with similar problems with this plug-in the custom CSS is

Code: Select all
.home .printfriendly .printfriendly-text {display:none;}
.home .printfriendly a{display:none;}
Colin
 
Posts: 2797
Joined: 27 Oct 2009, 10:46

Re: Add Print Friendly and PDF button manually

Postby janbletz » 01 Aug 2012, 04:10

Thank you very, very much!


Jan
janbletz
 
Posts: 140
Joined: 03 Jun 2011, 03:55
Location: Amsterdam


Return to Support Requests

Who is online

Users browsing this forum: Google [Bot], illulgego, moorrene and 9 guests

cron