I Broke My WP

All the WordPress I learned by _doing_it_wrong()

  • wtf is this
  • Wordpress Design Agency Themes
  • Follow @ibrokemywp

Recent Posts

  • Try to not suck at JavaScript. Store selected DOM elements for re-use
  • Beware when injecting yourself into the loop
  • wp_star_rating(). Be lazy. Be very very lazy
  • register_post_type() cheatsheet from Justin Tadlock
  • Please please please please please turn WP_DEBUG on

Category / Uncategorized

June 23, 2015November 30, 2014 by Nate

Try to not suck at JavaScript. Store selected DOM elements for re-use

  • Uncategorized

JavaScript is what all the cool kids use these days. Try not to totally suck at it. Continue reading →

June 16, 2015November 30, 2014 by Nate

Beware when injecting yourself into the loop

  • Uncategorized

The loop is everywhere. And everywhere is the loop. Honour it. Love it. Fear it. Continue reading →

June 9, 2015November 30, 2014 by Nate

wp_star_rating(). Be lazy. Be very very lazy

  • Uncategorized

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 →

June 2, 2015November 30, 2014 by Nate

register_post_type() cheatsheet from Justin Tadlock

  • Uncategorized

Every single argument for register_post_type() with lengthy, clear explanations. Continue reading →

May 26, 2015November 30, 2014 by Nate

Please please please please please turn WP_DEBUG on

  • Uncategorized

Please please please please please turn WP_DEBUG on Continue reading →

May 19, 2015November 30, 2014 by Nate

selected(), checked(), disabled(), your do-it-for-me buddies

  • Uncategorized

These little guys are quite helpful in cleaning up your form HTML code. Continue reading →

May 12, 2015January 3, 2015 by Nate

Your custom admin page’s hook suffix might get translated

  • Uncategorized

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 →

May 5, 2015January 3, 2015 by Nate

Update plugin readme without updating the plugin

  • Uncategorized

You don’t have to put out a new version of your plugin to update the readme. Continue reading →

April 28, 2015January 3, 2015 by Nate

Multisite does not appreciate relative paths in require_once() calls

  • Uncategorized

Who knew? Oh you did? *cough* Yeah me too. D’uh. Continue reading →

April 21, 2015October 6, 2015 by Nate

All the translation functions

  • Uncategorized
  • 2 Comments

WordPress has a ridiculous number of translation functions to make your life easier. Remember them. Continue reading →

Posts navigation

Older posts
Proudly powered by WordPress | Theme: editor by Array