WordPress.org

Forums

CleanPrint
[resolved] cleanprint v3.2.2 shortcode howto question (3 posts)

  1. yanqele
    Member
    Posted 2 years ago #

    Great tool, quickly solved my needs.
    One question though.
    I am using a shortcode (Ok) as shown in instructions:

    add_shortcode('cleanprint_print_button', 'get_cleanprint_print_button');
    function get_cleanprint_print_button() {
    if( function_exists('cleanprint_add_print_button') ){
    return cleanprint_add_print_button();
    }
    }

    Couldn't find out how to add one for EMAIL and one for PDF.
    Tried and failed to guess a substitute pattern.
    Thanks
    Jacques

    http://wordpress.org/extend/plugins/cleanprint-lt/

  2. johncadams
    Member
    Plugin Author

    Posted 2 years ago #

    Currently only the print button is supported but we will consider this for the next release.

  3. yanqele
    Member
    Posted 2 years ago #

    Thanks John
    At least for me, this is not urgent, as the print buttn opens the extra features.
    Also I found in the doc an alternate solution using an onClick statement.
    Many many thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic