printme_triggerclass that turns anything into a print trigger
external_triggershortcode element to enter the id or ids of the element(s) that should be used as an external trigger
And this is how it works:
First we need an element that has a unique id. There must also be the ability to add the
printme_trigger class to it.
<button id="my_button" class="printme_trigger">Print</button>
Next we add the print-me shortcode like normal… but also add the external_trigger attribute like so:
[print-me target="#intro_text" external_trigger="my_button"/]
And that’s it! Note: The external_trigger attribute can accept a comma separated list of multiple id’s. Also: When an external_trigger attribute is assigned, no standard print-pro-matic icon or text will be displayed, as the external trigger will be used instead.