Tag: wordpress
-
A Trio of Pibooth Plugins
Wherein I developed three plugins for Pibooth: fullscreen toggle, WordPress upload, and custom processing.
-
Stop WordPress From Sending Emails (And Log Them Too!)
A plugin that blocks emails for certain users and logs all email attempts in WordPress.
-
Automatic Admin Login for WordPress, A Really Bad Idea
This content presents a PHP snippet that forces automatic login to a WordPress site as the admin user. While it may be useful for local environments and testing existing data, it is strongly discouraged for production use due to security risks.
-
Super Simple OpenAI PHP Class
in Dev StuffI’ve been playing around with hooking up ChatGPT/Dall-E to WordPress and WP-CLI. To do this, I whipped up a super simple class to make this easier: I can generate images and get back text from the LLM. Here’s some examples ChatGPT made to show how you can use these: Example 1: Generating an Image This…
-
Silly Ideas: Cache WordPress Excerpts
in WordPressLet’s explore dumb ideas around caching parts of WordPress we shouldn’t.
-
Code Sweep: A Simple Approach to a Neater WordPress User List
in WordPressLearn how to efficiently manage WordPress users by using a PHP snippet to add a ‘Comments’ count column, helping you easily identify and remove spam accounts.