Skip to content

Build your own theme

A Retraceur theme holds the design of your website. It controls everything from colors, to fonts, to the entire layout. What you see when viewing the front-end of your site is mostly shaped by the theme.

Basically, a theme is a folder containing configuration files and sub-folders to include your templates, template parts and patterns. So that Retraceur can grab the theme details, you need to put the theme’s folder within your site’s /wp-content/themes directory.

  • index.php
  • Directorywp-content/
    • index.php
    • Directorythemes/
      • Directorypoint/
        • Directoryparts/
        • Directorypatterns/
        • Directorytemplates/
        • style.css
        • theme.json

The above file tree is showing how Retraceur default’s theme (point) is organized.

TBD

TBD

TBD

TBD

Enjoy advanced features dedicated to the theme

Section titled “Enjoy advanced features dedicated to the theme”

Retraceur offers a set of specific functionality that may be enabled within a theme. The theme needs to opt-in for the feature a support is provided for. This process have to be specified into the theme’s functions.php file. A nice feature regarding Retraceur positioning that every Retraceur theme should support is Post Formats.