WordPress.org

Support

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

[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="http://www.yourwebsite.com/wp-content/plugins/wp-print/images/printer_famfamfam.gif" /></a> <a href="<?php the_permalink()?>?print=1" class="thickbox">Print this page</a><?php } ?>

    Enjoy….

    http://wordpress.org/extend/plugins/wp-print/

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