I admit I hardly think of printing web pages. But it’s easy to get limited by your own scope of stuff you do..

One of our most active and prolific Ontario Extend Participants, @NurseKillam aka Laura Killam, has been an eager SPLOT poster child, and her questions last year led me to add a number of new features to some of the calling card themes I made– see how she is sporting the WP-Dimension on as her own card at http://nursekillam.com/.

She recently had a tweeted question about “best” WordPress themes for web-based presentations, so naturally it was a “Do I Have a SPLOT for You!” response

I’d never thought much about handouts for students, but it was a reasonable idea. For making a grid like slide tray view I suggested using a plugin that does that via shortcode:

But the idea of creating a printable handout of all slides in a SPLOTpoint seemed like a worthy feature to roll into the theme.

With a bit of hacking about, I have now a feature in the theme that will generate an “All Slides in One View Page” by creating a new page-all.php template that used wp_query to cycle through all posts (aka slides).

I just insert the featured image (which is in the header) as an image above the content.

I found there was some CSS I could add that would create page breaks when printed (no effect on screen; I added these with markers to indicate where the slides started and ended (inserting a counter in the post loop), at the top is:

and the bottom, after the content:

The main child style sheet has some CSS to suppress header/footer/menu stuff

Which now I realize might not be needed since I added a custom header template that my page template invokes simply by:

I wanted to reduce the font size / all caps of header styles from the screen display; I went in a few circles trying to do it “correctly” with conditional addition of a page only style sheet, but kept hitting the fail wall, so I lamely added it to the a custom header template used just for this page:

If I figure it out later, I will clean up my mess.

So what does it do?

Well here is a “view all” slides page from the What The SPLOT show. If one is inclined to kill trees, go ahead and print. Or you could easily generate a whopping 7Mb PDF All The Slides What the SPLOT is That?.

I’m not sure yet if that fit’s Laura’s (or anyone else’s) bill, but it was interesting to play around with it.

If this is a feature you cannot live without, it’s available now in the current version of the SPLOTpoint theme. I have a hunch not many folks update the SPLOT themes.

It’s not quite as smooth as butter yet, as the themes are uploaded to a WordPress site as a .zip file. If you try to upload a newer version of the zipped theme, WordPress shakes a finger and says “the theme already exists”!

To replace it, you have to manually ftp/sftp it to your server (I likely lost most of you there). I do include some update instructions in the mile long Readme files. My recommendation to avoid the fear of ftp is to add the Easy Theme and Plugin Upgrades plugin. This allows you to upload a newer version of the zipped theme and replace what is there.

There is one trick to create this new page; I have a function that will generate the page if it does not exist when the theme is activated (or first installed). Once you have updated, just swicth the theme to the parent Intergalctic (or any other theme) then switch the them back to SPLOTpoint– it will generate the new /all url page.

I make it a point on adding features to SPLOTs to never (intentionally) to break old functionality.

This one took a bit more dancing around than I thought but wanted to get it out the shoot.

Now you can send your SPLOTpoints to the print queue.

Featured Image: new hp printer flickr photo by SupportPDX shared under a Creative Commons (BY) license with edited in Screenshot of What The SPLOT is That?

If this kind of stuff has value, please support me by tossing a one time PayPal kibble or monthly on Patreon
Become a patron at Patreon!
Profile Picture for CogDog The Blog
An early 90s builder of web stuff and blogging Alan Levine barks at CogDogBlog.com on web storytelling (#ds106 #4life), photography, bending WordPress, and serendipity in the infinite internet river. He thinks it's weird to write about himself in the third person. And he is 100% into the Fediverse (or tells himself so) Tooting as @cogdog@cosocial.ca

Leave a Reply

Your email address will not be published. Required fields are marked *