Become A WordPress Developer Overnight After 4 Months of Work

This is a summary of an email I sent to someone who wants to get into creating custom WordPress themes and plugins. I’ve been doing this for over 7 years now and would like to think I have something interesting and helpful to say about this. I definitely welcome your comments and feedback on this list, particularly if you’re a self-taught developer working in the industry.

So, very long story as short as I can make it, there are 4 things you absolutely need to have to create sites in WordPress:

  1. Knowledge and understanding of HTML (not tons to learn here but critical)
  2. CSS (tons to learn here but you can get by without knowing everything; this will likely be the most frustrating to obtain)
  3. Basic understanding of PHP and how it works
  4. Basic understanding of WordPress APIs and how to find the answers you need

You’ll notice that JS is excluded here. I do that because you can, for the most part, do everything you need without JS at first and it’s important that you know how. JS is definitely the lingua franca for the internet but it can be very confusing, especially without a good understanding of how to program and the DOM in general.

Here’s the best advice I can offer you for learning everything above:

  • Expect frustration, for a long time. You’ll get caught up over and over, you’ll bang your head against the wall because of simple things, and you’ll feel like an idiot. YMMV but it took me a good 3-4 years before I wasn’t tripped up on the basics regularly.
  • Approach every problem with the understanding that
    you did something wrong, not that there is a bug. If you assume that the error is in your code, you’ll be right at least 95% of the time.
  • On that note, get very good at debugging. You will create a lot of bugs, less so as you get more experienced but you’ll never stop making them completely. Stay humble, stay patient, stay vigilant, and keep learning. The worst thing you can do is let the problems you create try to tell you something about yourself (i.e. you made a dumb error so you are dumb). You will do some really dumb stuff and you’ll do it on a daily basis. As long as you’re accountable for your errors and learn something each time, you’ll do fine.
  • Read the documentation, always. I should have learned to do this long before I did. Just take the time and read it, especially if you’re having an issue with something. In a similar vein, read the code you’re working against, if you can. I’ve learned a lot from the WordPress Codex and tutorial posts but everything you need is right there in wp-includes and wp-admin. If you’re using a WordPress function or filter or hook, dig into the function you’re using, you’ll learn a lot.
  • Do your best to understand the “right” way to do everything. If it worked but you don’t know why, it’s both likely to bite you in the ass and it’s not going to be repeatable later. “Right” is, of course, relative and you open the door to a lot of opinions on this topic. “Right” just means you’re doing things in a coherent, secure, performance-minded, and future-proof way.
  • Never use as a reference. It’s out of date, incomplete, and terrible. Mozilla’s MDN has the functions documented but is far more complete. Eventually they’ll be at the top of the Google rankings but, until then, make an effort to find it.



I’m combining these two together because they’ll serve you well forever regardless of what platform or language you land on. I would start here before you ever touch PHP/WP code so that you’re not hamstrung by the fundamentals down the road.

Here are a few good resources I’ve found online to start with for HTML and basic CSS:

Get through those 3 and you’ll be in excellent shape for HTML, probably better than 80% of the developers out there.

I would recommend moving onto learning about the DOM because it’s very much related to HTML. This starts to lean into JS, which is fine, but it will help you solidify what you learned about HTML.

So, now you know HTML through-and-through and you’ve been exposed to CSS. Time to get a little more in-depth with it.

CSS is a weird, weird language. It does a lot of things that don’t make a lot of sense and is interpreted differently by different browsers. You will have many hours of frustration with it but that’s OK. Try to re-frame out of hating CSS because (1) it’s important to know and (2) not many people can do it really well. It’s a critical skill to have.

Here are a few good resources:

  • CodeSchool’s CSS class – I know, goofy intro music but a well-done tutorial. I don’t know how far it will let you go for free but, if you’re inclined to pay, these guys do a great job
  • another Shay Howe resource – this is the next level after the one linked above. Finish this off and you’ll be ahead of me

Things I would highly suggest when writing HTML and CSS:

  • Always use classes for styling and ids for JavaScript. Since we’re skipping JS for now, this means you’ll pretty much never use an id attribute. This is fine.
  • I would suggest using dashes for your classes rather than underscores or camelCase.
  • Learn you some Sass at some point. Bare-bones CSS is annoying to write and maintain. Sass is the best pre-processor out there (IMHO) and it will, once you get used to it, save you an enormous amount of time. I use probably 20% of Sass and I don’t leave home without it.
  • If in doubt, validate. HTML validator here,
    CSS validator here
  • Write in a text editor for a while so you have to do all the work. Without the basics, you’ll be lost if you don’t have your editor available or have to code on a server. After a while, look into an IDE. I highly recommend PhpStorm, makes me much more productive.


PHP is not a hard language but it’s also a little wonky sometimes. This works in your favor, for the most part, because it’s intuitive up until you’re running into hard problems.

The first thing to understand about PHP is that it’s interpreted by a server. When you load a WordPress site for the first time, the server opens up the index.php file and runs through the code to figure out what to do. In order to write and execute PHP, you need to have a local server up and running. Best/easiest option for Mac is

Once you get that up and running, you should be able to add/edit in index.php file in the document root (MAMP will show you where that is) to add the following:

echo ‘Hi Josh’;

Load that in your browser (likely at localhost:8888) and celebrate. I’m not sure how much further to get into the basics but if you get stuck getting a local environment running, that should be the first thing we cover.

Here are a few basic resources for learning PHP:

Tips and tricks:

  • “Learning PHP” is actually just learning how to program in a specific language. Since you’re starting at the beginning, understand that you’re learning how to program
    and learning PHP at the same time. Most of what you learn will be applicable to all other languages, like data structures, loops, functions, and objects. Different languages handle them differently but the key is to understand the concept behind what you’re learning, not just how to do it.
  • Make sure error reporting is on (Google it) every time you develop. If you’re doing it in WordPress, make sure you have define(‘WP_DEBUG’, TRUE); in your wp-config.php
  • I would highly suggest picking up a big, heavy book and working through it completely. There’s no better way to learn this than hands-on. Well reviewed ones
    here and
  • Don’t be fooled by thinking you can just hop into WP and get it. I learned PHP via WP and, looking back, that was not the best way to do it.

WordPress code

So you’ve slogged through all of that and you now should be able to build your own website in PHP that does something dynamic (vague, I know). Now we dive into WordPress.

WordPress is basically just a bunch of stuff that’s been done for you. There are hundreds (thousands?) of functions you can use to make your life easier, it’s just a matter of finding which ones. The key in WordPress development is to
do things the “right” way. You shouldn’t have to do much hacking to make it work.

Here’s the track that I would take:

There is a ton of information in those pages but it’s all part of the skill set.

Here are a few rules of the road:

  • Never edit core files ever, this goes for WordPress core and plugins. There’s not one time I’ve ever needed to do this (though many times, in the past, where I thought it was the solution)
  • It’s more likely that there is a built-in WordPress function, hook, or filter that does what you need. Google is your friend. I learn about new actions and filters daily, just by assuming that there is one I can use and finding it. Oftentimes this is by reviewing the PHP for the function I’m using.
  • It’s very rare that you need to write MySQL code. If you’re reading a tutorial or StackOverflow answer that includes SQL queries, there’s probably something built-in you can do. This isn’t a rule but a good guideline.
  • Speaking of which, be very wary of what you read out there. StackOverflow is usually good and you can read criticism in the comments. I’ve found code snippets to be, at most, about 50% accurate in terms of doing things the right way.

There are so, so many others but these are the ones that come immediately to mind.


Total: 11

Your email address will not be published. Required fields are marked *

  1. Jane

    November 16, 2017 at 2:48 am  •  Reply

    Jane says:

    Josh how did that guy get mentored by you? Do you accept interns?

    I did front end dev intensive course with codeacademy I love their I’m built text editor and support to check your code. But they do not offer WordPress! So I signed up with WPMUDEV.

    I am building my first theme and plugin.
    But it’s very basic looking not like the themes you can buy on envato. How long would it take to get to that level?

    I studying php in CA as well. Can you recommend a better WP dev course? Please don’t say tree house or Lynda they are both video based and no tech support so I’m out. I have spent hundreds of dollars so far looking for a decent WP dev course and it is so elusive..

    Thank you

  2. Marrk

    May 3, 2015 at 3:16 am  •  Reply

    Marrk says:

    Thank you Josh. This list is really helpful. You are awesome.

  3. Richard Steinberg

    March 28, 2015 at 1:59 pm  •  Reply

    Richard Steinberg says:

    Dear Josh,
    Thank you for this list. It’s awesome.
    Btw, what do you think about updating the list with HTML5 and CSS3 resources? Both of which are crucial for front-end!
    This’ a great list, You are awesome.

    • Josh Cunningham

      March 28, 2015 at 3:49 pm  •  Reply

      Josh Cunningham says:

      Thanks for the note, Richard. When I say “HTML” and “CSS,” I generally mean HTML5 and CSS3 since a distinction, at this point, isn’t terribly helpful. CSS3 introduced a number of new features but some of them still don’t have good browser support. CSS needs to be written for the lowest common denominator, in some cases, and that level is determined by your intended audience. Some projects need to support IE7, unfortunately, and so much of the fun stuff in CSS3 is out of bounds.

      Also, most of the CSS you write will be the basics – layout, positioning, spacing, color, typography – and the rest – rounded corners, shadows, animations – will be polish. That polish is important, don’t get me wrong, but omitting it is not going to stop you from creating an excellent site.

      All that said, part 2 (still a ways off since this should take a long time to get through) will concentrate on the progressive enhancement of JavaScript, advanced CSS techniques, etc.

      Thanks again!

      • Richard Steinberg

        March 29, 2015 at 4:15 am  •  Reply

        Richard Steinberg says:

        Sure man, You are badass! Good luck with everything!

  4. Jason D

    March 27, 2015 at 3:22 am  •  Reply

    Jason D says:

    I may be a little biased… Josh was the one who trained me in WordPress development. But I find this post to be absolutely correct. One could even say it was the Proper way of doing things :)

    One thing Josh mentioned to me years ago that has proved very true: one of the best ways to learn about WordPress is to run a site using WordPress.

    Doing this gets one in the habit of looking at tasks from a users point of view, as well as how to structure and parse content. Plus you start to run into some of the common issues that users face every day.

    Fantastic post Josh, keep up the great work buddy!

    • Josh Cunningham

      March 27, 2015 at 2:54 pm  •  Reply

      Josh Cunningham says:

      Hey, thanks Jason! Looking forward to the next 2BC plugin!

  5. Chinh Tang Dao

    March 25, 2015 at 8:20 am  •  Reply

    Chinh Tang Dao says:

    Dear Josh,
    I love your blog. I’m inspired to be a WordPress freelancer after seeing one of my favorite bloggers (Everywhereist) got a beautiful upgrade by a veteran WordPress freelancer. I have always loved web-based programming, and that cements my desire to take off my coat and jump into the ocean of building WordPress. Of course, building projects is the best way to learn, but one also needs certain preliminary knowledge. That leads to the my question.
    I love this list you have built up. It’s the best list of its kind in the Internet right now. But, and please remember this’ a GREAT list, it seems to lack resources on Javascript, jQuery and MySQL databases. All of which, I think, are important for a successful WordPress Developer. May I inquire you for an expansion of the list? I’m a completely beginner and this list would take me weeks to learn. Still, I want to master WordPress, which I can only achieve through hard work and the community’s help. I love the WordPress community, it’s the best! Love Everyone!, and just have a comment on how to make the list better. Reply to me what you think.
    C. Dao

    • Josh Cunningham

      March 25, 2015 at 3:00 pm  •  Reply

      Josh Cunningham says:

      C. Dao,

      Thank you so much for your thoughts on this and your kind words here! Glad I could be helpful with this.

      I created this list as a “part 1” or sorts for those just getting started. The key concepts here are the essentials and can take years to master, depending on how much time you commit. I didnt want to overload anyone with too much, lest they think that you can’t get anything done without knowing several different languages. With the skills above, you can do a lot for yourself.

      On JavaScript, it’s good to know how to build sites without it. Like I mentioned in the post above, it’s a very important part of building things online but it relies heavily on understanding markup, styling, and layout in general. JavaScript should be a “progressive enhancement,” meaning that the page can function without it. It’s also a tough language to get started with so best to concentrate on the necessary components first.

      MySQL, in the WordPress world, is far less important than anything else you’ll learn. 95% of the queries you want to do in WordPress will have an API function like get_posts() or get_comments() that will pull the information for you. Understanding how MySQL works is important eventually but you should be writing very few, if any, MySQL queries in a typical WordPress project.

      I’ll compile a part 2 with advanced techniques, including JavaScript and MySQL, at some point but, for now, the skills above will help you go a long way!

      • Chinh Tang Dao

        March 25, 2015 at 8:31 pm  •  Reply

        Chinh Tang Dao says:

        Thanks for your reply. I’m looking forward to the Part 2 of this wonderful series. Thank you for your time and effort.

  6. pingback  •  March 22, 2015 at 8:00 pm  •  Link

    […] visit The PROPER Web […]


If you've got something to say about the above, now is your time. I moderate for spam, relevance, and abuse but, aside from that, this is an open forum. I will not publish your email address but feel free to be anonymous. If you just have a general question or want to get in touch, my contact form is the best place for that. Thanks in advance!