Start development on a local server
To start prototyping your website, theme or plugin, setting up a local server with a program like MAMP will help. MAMP is a virtual server that emulates a hosting environment on your computer. That enables you to go through various design iterations and test a site offline. This approach is better than working on a remote server, or on your live hosted site, where you don’t want changes to appear until your design is ready.
→ A Local Test Server: XAMPP or MAMP an article by Ian Stewart from ThemeShaper.
General WordPress resources:
Starting at the source, the WP codex documentation and the newer code reference are the most complete documentation you will find. The WordPress Codex - Theme Development and WordPress Codex - Using themes are good starting points.
Automattic’s Theme Division writes plenty of useful articles on the ThemeShaper blog, beginning with The ThemeShaper WordPress Theme Tutorial: 2ND EDITION. Beside WordPress.org’s own support forum, ThemeShaper Forums answer specific questions. The official WordPress IRC channel has a live chat help.
WordPress related go-to sites and blogs
→ https://websitesetup.org - free, step-by-step guide on how to create a website using WordPress, by Robert Mening.
→ https://www.youtube.com/watch?v=1ETN9H9DnSg - Video on how to make a website, by Robert Mening.
→ If you are going to delve into how PHP works with WordPress, http://docs.webingenia.com/wordpress/ is helpful.
→ Keep an eye on QueryPost, Better WordPress code reference, by Rarst.
→ Digging Into WordPress a site by Chris Coyier & Jeff Starr that also expands into a book.
There is an excessive amount of books about WordPress. How do you know if they are any good and current, thus helpful? Here are just two, recent, well documented and comprehensive manuals to circle the topic. Both available as e-books and print copies.
✑ WordPress: The Missing Manual, 2nd Edition by Matthew MacDonald, O’Reilly Media, June 2014
This book details WordPress features, as a blogging platform, and goes on to slightly more advanced topics.
✑ Building Web Apps with WordPress — WordPress as an Application Framework by Brian Messenlehner, Jason Coleman, O’Reilly Media, April 2014.
This book dives deeper into how you can build web apps on top of WordPress infrastructure. It gives you the keys to unleash a powerful content management system.
Non Commercial Starter themes for WordPress
Starter themes or frameworks are great for the novice and developers alike, because they are time-saving. They are also ideal to learn because they are not stuffed with all the superficial stuff, so it is easier to understand. If you start from scratch, it’s good to piece things together to see how they work.
I settled for underscores or _s, a starter theme by Automattic. It contains just the right amount of lean, commented, modern, HTML5 templates.
→ To keep it simple, you can head over to http://underscores.me and generate your _s based theme.
☞ Components is an extension of underscores _s, a starter theme that includes reusable components tailored to different theme types.
Automattic retired Components in June 2017
☞ Theme Shaper tutorial, the accompanying 16 day lessons to build a theme from scratch with _S:
Bones - WordPress development theme by Eddie Machado is a lean theme to start building upon, adding or removing functionalities as needed. Speed efficient with its mobile-first logic, the theme is updated on a regular basis, well commented. It’s great to start working with Sass.
Roots another WordPress starter theme, with HTML5 Boilerplate, Bootstrap, and Grunt.
Commercial frameworks for WP
Learning from existing themes
All the free WordPress.com themes are hosted on Automattic’s SVN. Here are a few minimalistic ones:
This theme looks nice and simple. Since it is based on _s, the learning curve from underscores was a logical step. It uses the Frameless Grid which seemed a good option to work with.
→ Ryu Demo
Each year the WordPress team collectively develop a theme. Following its development on GitHub is a good way to learn.
Keep it simple, use as few plugins as possible. Using no or very few plugins will prevent speed, maintenance (upgrades!) and security issues. Plugins can be vulnerable to attacks, so update to the latest version whenever a vulnerability is found. When searching for a plugin, use common sense, look for things like code stability, maintenance rate and clear documentation. Good indicators are the number of downloads and favorable reviews a plugin received.
Here is a list of WP plugins that I use(d) and tested thoroughly.
You Don’t Know JS, by Kyle Simpson, available as ebook.
WordPress code snippets
- CSS Tricks has some useful WordPress code snippets
- GenerateWP.com Help to generate custom quality code using the latest WordPress coding standards and API’s.
If you tested a theme or plugin locally, it might still be a good idea to test it online. You could use a temporary site before deploying your website. Unlimited WordPress test installs are available at the weird domain Poopy.life, a service offered by Soflyy, the creators of Oxygen and WP All Import.
Use poopy.life/create to start an install.
Speed and optimization for WordPress
→ A good web host is important.
→ Minify CSS, and compress images
→ Use web caching to reduce bandwidth usage, server load, and perceived lag (.htaccess methods, plugins…)
These articles are more specific to WordPress optimization:
Set-up WordPress to run on HHVM: Steps to install HHVM (HipHop Virtual Machine).
WordPress using PHP7 can result in about 2-3x speed improvement compared to PHP5.6. Unfortunately not many hosts support PHP7 yet but things are moving in the right direction.
✑ WP Tavern publishes articles on web development, with specific resources and news for and from the WordPress community.
✑ Post Status, Reader validated, curated WordPress news.
✑ wpMail is another weekly WordPress newsletter.
Leave a Comment
Your email address will not be published. Required fields are marked *