dgalfano
Member
Posted 1 year ago #
Great job with this! I think it's one of the better ones I've seen. My only desire is to be able to print the calendar (grid or list). I use the grid layout by default. Anyway, I use the WP-Print plugin to print a cleaner version of pages/posts...except I can't get it to work on the events calendar pages.
The plugin needs to have this hook just before the print code:
<?php while (have_posts()) : the_post(); ?>
But if I put this on any of the templates, I get a blank page.
Any ideas how to allow visitors to print the calendar? It's on a school site, so mostly it's parents and teachers printing in grid format to put up on their fridge...
Thanks!
Dan
Hi Dan,
Unfortunately, I think this is a bust. Judging by the code you posted, I think the WP-Print plugin needs the standard WP post loop in order to work. By design, our grid format has to avoid the loop. This allows us to build up a calendar-looking view from scratch.
If that is how the WP-Print plugin works, printing the list view should work.
I think the best bet for printing the grid would be to screen-capture applications (less than desirable, I know).
Justin
dgalfano
Member
Posted 1 year ago #
Hi Justin,
Thanks for the quick reply. I guess I will try just creating a print style sheet then...I don't think I can successfully get parents to download something like this (which I find pretty handy, actually): http://css-tricks.com/examples/ThePrintliminator/.
Printing grid view is probably one of the highest priorities and needs for the school...Do you think that's something you'll plan on incorporating?
Dan
dgalfano
Member
Posted 1 year ago #
For now, I just added a print stylesheet and it seems to work just fine!