What is a WordPress theme?
A WordPress theme is a group of files (templates, stylesheets, images and sometimes JavaScript) that decide how your website looks. When you switch the theme, your posts and pages stay the same, but the design and layout change.
There are two kinds: classic themes with PHP templates (like single.php) and block themes with HTML templates and a theme.json file, which you edit in the Site Editor.
Themes are saved in wp-content/themes:
Terminal output
$ wp theme list –fields=name,status
name status
twentytwentyfive active
twentytwentyfour inactive
twentytwentythree inactive
Learn more in WordPress Themes.
Learn more about the similar topics:
| Tutorials |
|---|
| WordPress Themes |
| WordPress Top Theme List |
| WordPress Theme Files and Functions |
| WordPress Template Hierarchy |
| WordPress Enqueue Scripts and Styles |
| WordPress Loop |
| WordPress WP_Query Class |