Enhance your WordPress theme development workflow
Tonik WordPress Starter Theme
What’s inside?
Tonik
WordPress Starter Theme which aims to modernize and organize some aspects of theme development.
Gin
Foundation of the Tonik WordPress Starter Theme. Provides all custom functionalities which it offers.
CLI
Simple Command Line Interface for initiating themes based on Tonik WordPress Starter Theme.
What to expect?
Enhanced Templating
with
support for passing data
use function App\Theme\template;
template('button', [
'title' => 'Click me!',
'href' => home_url()
]);
Webpack for managing, compiling
and optimizing asset files
# Commands for compiling and optimizing
# scripts, stylesheets, and images.
$ npm run development
$ npm run production
$ npm run watch
Oriented for building with Actions and Filters
namespace App\Theme\Setup;
add_action('theme/post/thumbnail', function () {
template('partials/thumbnail');
});
// @ resources/templates/index.tpl.php
<?php while (have_posts()) : the_post() ?>
<?php do_action('theme/post/thumbnail') ?>
<?php endwhile ?>
What’s unique?
Utilizes PHP Namespaces
Simple Theme Service Container
Child Theme friendly Autoloader
Centralized theme's configs
Brought to you by the team at Tonik
We’re a group of seasoned designers and developers, working with both startups (from San Francisco’s prestigous Y Combinator, to the Berlin-based Axel-Springer acceletator) and well established businesses from all over the world.
Whether we’re building MVPs using the Google Design Sprint, or scaling up your existing product, we’re always on the look out to serve the needs of your users, improve key metrics and help you with monetizing your concept. From branding, through UX/UI and front-end development, we’re here to help.