Skip to content
thoughtisPublic

About

WordPress parent theme for Thought & Expression Co.

Resources

Stars

1 star

Watchers

5 watching

Forks

Latest commit

 

History

786 Commits

Folders and files

Repository files navigation

Cata

A WordPress theme by Thought & Expression Co. for hybrid sites — sites that use the block editor for content, but still render the front end with classic PHP templates.

Important

Starting a new site? New sites in the Thought & Expression Company network should start with the goth theme instead. Goth supports full site editing and can be used as a parent theme or as the starting point for a site-specific block theme. Cata remains in use for existing hybrid sites.

What it provides

  • Classic PHP templates (header.php, footer.php, index.php, single.php, page.php, 404.php, etc.) with reusable pieces in template-parts/.
  • Block editor support via theme.json (v2): fluid font scale, root-padding-aware alignments, content/wide layout widths, spacing scale, and editor styles.
  • PHP features organized as autoloaded classes in includes/, initialized in includes/bootstrap.php:
    • Block styles (e.g. Streaming) and block image sizes
    • Custom rich-text formats (Mark)
    • Asset enqueueing, image sizes and content width
    • Excerpts, nav menus, sidebar, languages, admin and block editor customizations

Requirements

  • WordPress
  • PHP
  • Node.js (for building assets)
  • Composer (for coding-standards tooling)

Development

Install dependencies:

npm install
composer install

Build assets

JavaScript and LESS sources live in assets/src/ and are compiled with esbuild into assets/dist/:

npm run build

Watch + live reload

npm start builds, watches for changes, and serves the site through BrowserSync at http://localhost:3000/:

npm start

The BrowserSync proxy target is configured in bin/browser-sync.js (defaults to dev.local).

Coding standards

PHP coding standards use VIP WPCS via PHPCS (see phpcs.xml.dist):

vendor/bin/phpcs

Credits

Inspiration from _s, Susty and Storefront.

License

GNU General Public License v2 or later.

About

WordPress parent theme for Thought & Expression Co.

Resources

Stars

1 star

Watchers

5 watching

Forks

Releases

Used by

Contributors

Languages