Forums

printer friendly (4 posts)

  1. ejc10000
    Member
    Posted 5 years ago #

    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

  2. Lester Chan
    Member
    Posted 5 years ago #

    in your post as in within your post content?

  3. ejc10000
    Member
    Posted 5 years ago #

    yes within post content.

  4. Lester Chan
    Member
    Posted 5 years ago #

    you can't unless you link it using html code.

Topic Closed

This topic has been closed to new replies.

About this Topic