WordPress.org

Ready to get started?Download WordPress

Forums

CleanPrint
[resolved] CleanPrint Error Message: (4 posts)

  1. btspamshield-1
    Member
    Posted 1 year ago #

    CleanPrint is working fine using the default placement, however, after following the instructions to use the shortcode placement option I am receiving the following error message on my page:

    "Warning: Missing argument 1 for cleanprint_add_print_button(),..."

    The following code was inserted to the functions.php file as instructed:

    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();
           }
        }

    How do I resolve the missing argument?

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

  2. johncadams
    Member
    Plugin Author

    Posted 1 year ago #

    Are you running the latest version of the plug-in?

  3. frizzie55
    Member
    Posted 1 year ago #

    I get that same error message and, yes, I'm running the latest version, so how to resolve this problem?

  4. johncadams
    Member
    Plugin Author

    Posted 1 year ago #

    Try the 3.2.2 version, hopefully that addresses your issue

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.