WordPress 101: Introduction
Working with WordPress can be awesome and painful at the same time, especially when you have to dial with a lot of different parts of this CMS, or being forced to create some functions by yourself.
Internet is full of tutorials and guides, good and bad, to help you out with pretty much everything, but the major problem is that most of this tutorials are focused on single tasks, with specific goals on how to create this or that, following a preset logic by the author that could not fit the needs of a fresh, confused developer. Most of the time a developer at his first step would like to learn how to actually create something from scratch, or how to properly manage the most common hooks and functions from WordPress, focusing more on the logic and learning the basic WordPress codex.
WordPress can be a total #@!? or a loyal wife
If you’re looking for something fast on how to create your wonderful template or your stunning plugin, this is not the place for you. This is gonna be a long and sometimes painful process.
In this series of tutorials I’m gonna touch the most common aspects that fill up the life of a WordPress Developer, from the editing of the comment text, to the development of custom templates and plugins.
Here’s the list of tutorials:
- WordPress 101: Create a Theme from Scratch – GitHub Repository
- PART 1: Create the basic Structure
- PART 2: How to properly include CSS and JS files
- PART 3: How to create custom menus
- PART 4: How to use the Post Loop and custom body class
- PART 5: How to create Custom and Specialized Page Templates
- PART 6: How to add Theme Features with add_theme_support
- PART 7: How to add and create Post Formats
- PART 8: How to create Sidebar and Widgets areas
- PART 9: Edit the query_posts with WP_Query
- PART 10: Filter the WP_Query with categories
- PART 11: The single.php file, tags, edit links and comment template
- PART 12: Create a custom search form and manage the search results page
- PART 13: Create and manage the Pagination in your blog loop
- PART 14: Edit the menu with the Walker Class – Part 1
- PART 15: Edit the menu with the Walker Class – Part 2
- PART 16: How to print the Blog Info
- PART 17: How to create a custom Archive and 404 page
- PART 18: How to create Custom Post Type – Part 1
- PART 19: How to create Custom Post Type – Part 2
- PART 20: How to create Custom Taxonomies – Part 1
- PART 21: How to create Custom Taxonomies – Part 2
- PART 22: How to create Custom Taxonomies – Part 3
Don’t take everything for granted
Something that I constantly remind to myself is to not take everything for granted. WordPress is a constantly evolving project, with the release of a major update once every 6 months circa, so always remember that something written today could be already outdated tomorrow. Always check the source code and avoid to just brutally copy/paste a piece of code that you find useful, even in this guide. Always check, double check and test everything like a maniac.
All the examples included in this series of tutorials refer to the version 4.0+
What you think guys? Is something missing from the list above? Is there some topic or aspect of WordPress would you like to talk about?
If you have critics or suggestions please let me know with a comment, and if you like this guide please give me a virtual high five with a click on the share button.