Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Baden

    (@baden03)

    Do you mean Dashboard Widget or Write Screen MetaBox?

    Either way, the plugin currently loads only on the front end:
    print-o-matic.php line: 84

    //load the script and style if not viewing the dashboard
    		if (!is_admin()){
    			add_action('init', array( $this, 'printMaticInit' ) );
    		}

    you might try and comment out the if clause (keeping the add_action bit) and then manually call the print-me shortcode using do_shortcode –no idea if that will work or not. If not, then you might try rolling your own by using something like the following basic structure:

    <div class='printomatic' id='unique_id' title='' ></div>
    <input type='hidden' id='target-unique_id' value='target_goes_here' />

    Please let us know if you get it working… and how.

    Thread Starter robbiet63

    (@robbiet63)

    Hi Baden,

    Thank you for your prompt reply. It is a Dashboard Widget. I will try the suggested fix and keep you posted. I may not get to it for a little while but it’s on my list.

    Thanks,
    Rob

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Print-o-matic shortcode in dashboard metabox? – Instructions for multisite users’ is closed to new replies.