printer friendly
-
I am looking for a plug-in that has the functionality of wp-print, but which i can use in my posts.
Does wp-print have this functionality?
I have tried using wp-print in my single.php file.
But have only been able to have the print icon appear above and below my title and below my post:
ABOVE TITLE;
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?><!– Start Post –>
<?php if(function_exists(‘wp_print’)) { print_link(); } ?><h2><?php the_title(); ?></h2>
<?php the_content(“Continue reading ‘” . the_title(”, ”, false) . “‘”); ?>
<?php link_pages(‘<p>Continue reading: ‘, ‘</p>’, ‘next’, ‘Next page’, ‘Previous page’); ?>
BELOW TITLE;
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?><!– Start Post –>
<h2><?php the_title(); ?></h2>
<?php if(function_exists(‘wp_print’)) { print_link(); } ?>
<?php the_content(“Continue reading ‘” . the_title(”, ”, false) . “‘”); ?>
<?php link_pages(‘<p>Continue reading: ‘, ‘</p>’, ‘next’, ‘Next page’, ‘Previous page’); ?>
BELOW POST;
If I include <?php if(function_exists(‘wp_print’)) { print_link(); } ?> anywhere else other than the two positions stated above the print icon appears below my post.I am trying to have the icon appear with in my post.
Does anyone have any ideas? Please help.EJ
The topic ‘printer friendly’ is closed to new replies.