TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tonik — WordPress starter theme with CLI, ES6, Webpack and more

52 pointsby patruloalmost 8 years ago

6 comments

fimdomeioalmost 8 years ago
I started separating the admin from the "theme" by using the wordpress rest api (admin running in a subdomain). While this might seem overkill at first but I find that there's a lot less documentation to read and I can reuse a lot more code from other projects without any changes.
评论 #14711479 未加载
评论 #14710357 未加载
评论 #14710224 未加载
评论 #14710676 未加载
ezekgalmost 8 years ago
This looks pretty cool. A couple years back, I built a similar starter theme and CLI package for WP dev. Back then CoffeeScript and Grunt were the norm, so it&#x27;s a bit outdated now. But the CLI actually grew from a scaffold like you have now, to being able to deploy over SSH using Capistrano, database and all, which was really nice.<p>I don&#x27;t do much WP dev anymore (thankfully moved to using Rails, Go and Node), but when I do I usually use that old project for deployment. I&#x27;ll be sure to check this out, as the services architecture looks like a nice change of pace. I tried Bedrock&#x2F;Sage in the past, but it was just too much for me and made some things harder than they should be.<p>Added links to my old projects below in case anybody is curious,<p>[0]: <a href="https:&#x2F;&#x2F;github.com&#x2F;themejuice&#x2F;tj" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;themejuice&#x2F;tj</a> (CLI) [1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;themejuice&#x2F;sprout" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;themejuice&#x2F;sprout</a> (theme)
mandazialmost 8 years ago
Cool. I&#x27;ll check this out.<p>One thing I really find myself having a hard time working with WordPress themes is that many of them are bloated and require so many plugins. The amount of css&#x2F;js files that are required to load a page in a premium WordPress theme averages around 30+ files (at least from what I have seen working with WordPress themes).
评论 #14710086 未加载
gibbitzalmost 8 years ago
I built a custom gulpfile that uses composer to manage the updating of WP and plugins along with building and FTP transfer a while back that I&#x27;ve been using for about a year. I should have built a swanky page and open-sourced it then :(. Composer sure makes WP development much easier to integrate with build systems. This is totally the way to go as long as clients prefer using WP to something more full-featured or server intensive. I&#x27;ll have to check this out when I decide that webpack has some advantage over gulp&#x2F;rollup. Right now I&#x27;m able to get smaller packages and do more easier with gulp, so I&#x27;m in no hurry.
joe_mommaalmost 8 years ago
I like it, neat that NPM is used
dangerfacealmost 8 years ago
I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?
评论 #14710105 未加载
评论 #14710391 未加载
评论 #14710444 未加载
评论 #14710117 未加载