Because the screenshot you taken is from the single.php and not index.php?
You just have to put <?php if(function_exists('wp_print')) { print_link(); } ?> within the WordPress loop for those page you want the print link to appear. If you are not sure where your theme loop is or where the files are, I suggest contact your theme author.
The normal places are in index.php, single.php, archive.php. But they differ from theme to theme.
As I said,
while (have_posts()) : the_post(); ?>
<?php if(function_exists(‘wp_print’)) { print_link(); } ?>
Is taken from the index.php file just as it says to do from the documentation:
Open wp-content/themes/<YOUR THEME NAME>/index.php You may place it in single.php, post.php, page.php, etc also.
Find: <?php while (have_posts()) : the_post(); ?>
Add Anywhere Below It: <?php if(function_exists(‘wp_print’)) { print_link(); } ?>
The screenshot is not of the single.php file, it is a screen shot of the actual post on the website.
So this should not have been marked as resolved.
“The screenshot is not of the single.php file, it is a screen shot of the actual post on the website.” Yes, that means the template used for that post is single.php.
What are the files you placed in? You only mentioned index.php. In the instructions in states “single.php, post.php, page.php” but you didn’t mentioned you place it in them, just index.php
Why don’t you paste your single.php code here.
I see, the instructions say:
Open wp-content/themes/<YOUR THEME NAME>/index.php You may place it in single.php, post.php, page.php, etc also.
That is what has confused me, the word may means that you can do it, not you must do it.
For example, using:
“If you are involved in a car accident that kills someone you may stop and call the police”
Instead of:
“If you are involved in a car accident that kills someone you must stop and call the police” 🙂
I suggest you replace the word may with either must or should in the instructions.
Thank you for your help.
Chris.
May is valid because it really differs from theme to theme. There is no such thing as must/should because all themes do thing different way, name their files differently. Must and should will make it worst if the files are not there.
Ok,
It only goes to show that in this case may, may 🙂 be confusing.
A compromise, how about:
Open wp-content/themes/<YOUR THEME NAME>/index.php You should place it in single.php, post.php, page.php, etc also if they exist.
Chris.
Thanks,
The plugin is great, much much better than the others.
Chris.