Skills / WordPress websites / How WordPress works

WordPress websites, lesson 1 of 8

How WordPress works

WordPress is a content management system: software that lets people run a website and add content without writing code. It is free and open source, and it powers a very large share of all websites.

Four ideas explain almost everything about it.

Posts and pages. Pages are for content that stands alone and rarely changes: Home, About, Contact, Services. Posts are dated entries that appear in a list, newest first, like blog articles or news. Posts can have categories and tags; pages usually do not.

Themes control how the site looks: layout, colours, fonts and page templates. You can switch themes without losing content, because the content is stored separately in the database. Modern block themes let you edit headers, footers and templates visually.

Plugins add features: contact forms, online shops, search engine settings, backups, booking calendars. There are tens of thousands of them, which is both WordPress's strength and its biggest risk.

The database stores content, settings and users, while the files on the server hold WordPress itself plus themes, plugins and uploaded images. A full backup needs both.

WordPress.org vs WordPress.com. WordPress.org is the free software you install on any host you choose, with full control. WordPress.com is a hosted service run by one company, easier to start with but with limits depending on the plan. Most freelance work is on self-hosted WordPress.org sites.

Every page you see is assembled on request: WordPress reads the content from the database and wraps it in the theme's templates.

Try it: Make a list of the pages and the posts a local cafe's WordPress site would need. Then name three plugins it might need and what each one does.

Check yourself

1. What is the main difference between posts and pages?

2. If you switch to a new theme, what happens to your content?

3. What does a full WordPress backup need?