Home

Awesome

Dogpatch

A WordPress starter theme including Webpack (via Laravel Mix), Vue, Babel and Tailwind CSS.


Inside Dogpatch

Javascript

CSS

WordPress


Getting Started

Installing

Download the ZIP or clone the repository into your WordPress themes directory.

$ cd into the Dogpatch theme directory.

Install the project dependencies using NPM or Yarn:

<pre><code>npm install</code></pre> <pre><code>yarn install</code></pre>

⚠️ You will likely want to remove any references of Dogpatch and replace them with your current project name instead. ⚠️

Development

To run a single instance of the dev build:

<pre><code>npm run dev</code></pre> <pre><code>yarn run dev</code></pre>

To watch files through with live browser reloading:

<pre><code>npm run watch</code></pre> <pre><code>yarn run watch</code></pre>

Hot Module Reloading

Hot module reloading is possible using the following:

<pre><code>npm run hot</code></pre> <pre><code>yarn run hot</code></pre>

Production

Building for production will run the following tasks:

<pre><code>npm run production</code></pre> <pre><code>yarn run production</code></pre>

Updating

0.0.2 Two new functions added:

remove-gutenberg-styles.php - removes Gutenberg block editor styles pretty-print.php - nicer formatting on nested print statements with print_p()

Copy new files from /functions/core and /functions/template and copy functions.php. Comment out as needed.


No auto-updates through WordPress or child themes. These methods tend to cause behind the scenes conflicts and often cause more problems than they solve. Instead you can choose to patch the areas manually if you wish to do so, however, the benefit of being clean-slate means that updates should only require only minor changes.


Todo


License

GNU General Public License v3.0