Support » Plugin: WP-Print » [Plugin: WP-Print] Here's how to create a "Lightbox" thingy…..

  • Here’s the code you use to have your print pop-up in an Ajax whatever box.
    In this case, I have NextGen Gallery installed, and I’m using their “Thickbox” class. NextGen has the Thickbox and Shutterbox scripts installed.

    Use whatever box script you have installed in your wordpress, or add your own.

    <?php if(function_exists('wp_print')) { ?><a href="<?php the_permalink()?>?print=1" class="thickbox"><img src="" /></a> <a href="<?php the_permalink()?>?print=1" class="thickbox">Print this page</a><?php } ?>


  • The topic ‘[Plugin: WP-Print] Here's how to create a "Lightbox" thingy…..’ is closed to new replies.