Issue 83
Hi everyone
It's been a relatively quiet month for me. As a freelancer, that's always a good opportunity to reflect and assess. As a result, I hope to make a few changes to my business in the coming months. I'll still be publishing this newsletter though!
Anyway, on with the show...
This month, I've highlighted a couple of Add-ons that I wasn't aware of. And chosen two articles with methods that I have used on my own projects recently. And, there's a great CSS resource linked as well.
See you next time.
Add-ons
Perch Response Prune
An add-on that deletes Perch Form responses that are older than a specified age.
Perch Clean Talk Anti-Spam
This Perch add-on uses the CleanTalk API "check_message" method to help prevent spam on Perch Forms.
How Do I?
Group Blog Post Comments and Webmentions Separately
I needed to do this recently on a personal site. Here's how to group blog post webmentions using <perch:if different="webmentionType"></perch:if>
. Extending this means you can separate out regular post comments and also display a facepile.
Add a Dev Mode to Pages
How to add a dev mode to pages and restrict access if you need to work on a new page on a live site.
From the Docs
Perch_post
The perch_post()
function does the same job as $_POST
in PHP, but has some convenient safeguards and options built in.
Site Example
Accurate Tint and Graphics
Nice site!
Other
SmolCSS
Minimal snippets for modern CSS layouts and components. This is a fantastic site with hugely useful CSS code examples.