Plugin Author
Baden
(@baden03)
Not automatically, no. However you can add the following function to the functions.php file of your theme:
function add_print_trigger($content) {
$content .= do_shortcode('[print-me/]');
return $content;
}
add_action('the_content','add_print_trigger');
This will work with both free and pro versions.
that sounds good ! and it works :-))
Is it also possible to set the print-button only on detail-posts and pages? I tried your function and now the button is displayed on category-lists too: http://wordpress.webdesign-aus.koeln/category/kompetenzorientierung
Plugin Author
Baden
(@baden03)
Yes, you will need to add in a conditional tag.
https://codex.wordpress.org/Conditional_Tags
function add_print_trigger($content) {
if(is_single()){
$content .= do_shortcode(‘[print-me/]’);
}
return $content;
}
add_action(‘the_content’,’add_print_trigger’);
Great !
I’ve set: if ( is_page() || is_single() ) and that’s it!
Thank you :-))
Plugin Author
Baden
(@baden03)
glad it worked out!
leave a review if you are happy with the plugin or it’s support.
Issue marked as resolved.