JavaScript is what all the cool kids use these days. Try not to totally suck at it. Continue reading →
Beware when injecting yourself into the loop
The loop is everywhere. And everywhere is the loop. Honour it. Love it. Fear it. Continue reading →
wp_star_rating(). Be lazy. Be very very lazy
I always thought WordPress was missing a good star rating function. I don’t know why it’s not built into PHP itself, frankly. Thank god that wp_star_rating() exists. Continue reading →
register_post_type() cheatsheet from Justin Tadlock
Every single argument for register_post_type() with lengthy, clear explanations. Continue reading →
Please please please please please turn WP_DEBUG on
Please please please please please turn WP_DEBUG on Continue reading →
selected(), checked(), disabled(), your do-it-for-me buddies
These little guys are quite helpful in cleaning up your form HTML code. Continue reading →
Your custom admin page’s hook suffix might get translated
If you’re relying on the load-{hook}
action or checking get_current_screen()
to load assets on your custom admin page, your assets might not get loaded when your plugin is translated. Continue reading →
Update plugin readme without updating the plugin
You don’t have to put out a new version of your plugin to update the readme. Continue reading →
Multisite does not appreciate relative paths in require_once() calls
Who knew? Oh you did? *cough* Yeah me too. D’uh. Continue reading →
All the translation functions
WordPress has a ridiculous number of translation functions to make your life easier. Remember them. Continue reading →