Category: WordPress Code
-
I’m on WordPress.TV
My talk from WordCamp Kathmandu entitled “Coding With Jetpack” is now available on WordPress.TV. I hope you enjoy 🙂
-
I Open Sourced My Twenty Sixteen Child Theme
Today, I open sourced my Twenty Sixteen child theme. It includes an empty resume page template and a clean travel…
-
Truncate a WordPress Database To X-Number of Posts
I regularly work with huge MySQL database files (10G-100G) so making copies and importing them locally for use in VVV…
-
Automatic Featured Images for YouTube Posts
A few people have asked how I get the WordPress featured image for my YouTube posts. It’s actually quite simple…
-
Add a pageview column with Jetpack data source
I decided to get with the times and give Jetpack a try. If you’re unfamiliar with Jetpack, it’s essentially a…
-
Graphite Graphs for WordPress
It’s no secret that I love Graphite. My co-workers think it’s a bit ridiculous how much data I feed into…
-
A little PHP script to watch for 404 errors
This is a quick script which reads a standard RSS feed and then grabs the response header for each feed…
-
Assign Random Featured Images To All Posts
Could be used for setting up dummy content for a staging environment, or something similar. Be my guest and let…
-
WordPress Trackback Maintenance
Sometimes you just need to get rid of all that trackback data from your WordPress database. Here’s how to do…
-
WordPress search__only_ Variables
Here’s another object-oriented mu-plugin that you can expand upon if needed. This adds the option to perform a search with…