A WordPress website consists of three main elements:
- The WordPress installation itself
- The contents of the
wp-contentdirectory which includes the themes, plugins and uploads
- The database, where all the content is stored.
Most WordPress users never come into direct contact with the database and may not even be aware that it's constantly working to populate their site. When WordPress serves up any kind of page, be that the home page, a single post or page or an archive, it's accessing the database to bring up content that editors and administrators have added to the site.
In this series of tutorials I'll look in detail at different aspects of the WordPress database. The series will have nine parts, covering the following:
- Relationships between data
- Content types
- User data
- Taxonomies, categories, tags and terms
- Taxonomies vs post metadata
- The options table
- WordPress Multisite data