Article - How WordPress themes actually work

  • Metadata:
    • author:
    • title: How WordPress Themes Actually Work? -Cloudnames Blog
    • url: Weblink
  • A WordPress Theme is a collection of files that work together to produce a graphical interface with an underlying unifying design for a weblog

    • image files (.jpg__,__.gif)
    • style sheets (*.css)
    • code files (*.php).
  • WordPress themes are made up of a** folder of template file**s. These files control a specific piece of your theme. Parts of your site that remain static no matter what page you’re on are controlled by header, sidebar and footer files. You can modify these files so they detect what page you are on and serve different content accordingly.
  • The loop is the most powerful part of your WordPress theme.** It starts with a query which determines which posts or pages to grab and ends with a PHP statement. Everything in between is up to you. **You can specify the output of titles, post content, metadata, custom fields and commenting all within the loop and each element is output for each post or page until the query is done.