We’ve installed WP-Print, a plug-in that adds print capability to posts, pages, and comments. While we can put it in a shortcode in each calendar event, we’re rather it just automatically work for all of them.
Their instructions, in part, say:
Open wp-content/themes/<YOUR THEME NAME>/index.php. You should place it in single.php, post.php, page.php, etc also if they exist.
Find: <?php while (have_posts()) : the_post(); ?>
Add Anywhere Below It: <?php if(function_exists('wp_print')) { print_link(); } ?>
I’ve done that on index.php, single.php, page.php, and archive.php (my theme doesn’t have a post.php), but I don’t have the icon show in Calendar events (it shows on other posts and pages).
Is there a place I can add this code to have the option work on events and comments?