Hi and welcome.
Are you looking to Build websites using WordPress and want a more in depth understanding of how WordPress works.
Perhaps you would like to modify it, or maybe develop plugins, themes etc.
I’m Steve and although I’m not a WordPress developer, and don’t create templates or plugins for a living, I have built many websites using WordPress.
Many of the sites have needed some form of customisation and most have used child themes.
While trying to do that I have found many sites with excellent code snippets, but I didn’t find any that gave much of an explanation of the main WordPress functions and the code itself.
This is my attempt to explain as best I can what I have learned and continue to learn as I delve further into WordPress.
Making untested modifications to a live site isn’t recommended and so it is important that you understand how to create a test site.
WordPress is written in PHP and so a good understanding of PHP is essential to get started.- see PHP Basics for WordPress Websites.
I recommend that before you attempt to write or change any code you should look at:
- How WordPress Serves Web pages
- Beginners Guide to The WordPress Load Process
- Beginners Guide to the WordPress Loop
- Beginners Guide to WordPress Templates
- Understanding WordPress Shortcodes
- WordPress Functions and the functions.php File
External Resources and references:
Adding scripts and css files to WordPress– cover wp_emqueue
I publish an occasional newsletter which you may find interesting. Just enter your email address below to subscribe
Note: if you’re a small business or personal site owner looking to simply build a website and aren’t concerned with the more technical details then visit my other site.
Latest Articles and Tutorials
WordPress has 100s of built in php functions called core functions.
However if you want to modify WordPress, create Plugins or themes, then you probably need to create your own custom functions.
Shortcodes were introduced in WordPress 2.5 and are used for adding macros to a page or post.
There are several built in shortcodes like the Gallery shortcode that come with WordPress, but you will encounter Shortcodes most often when you install plugins.
Because WordPress stores pages and posts in a database the way it reacts to a web page request is very different to a standard HTML website.