Tonik — WordPress starter theme with CLI, ES6, Webpack and more
11–20 of 61 posts
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#12I 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.
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#13Cool. I'll check this out. 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/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).
>The amount of css/js files that are required to load a page in a premium WordPress theme averages around 30+ files HTTP/2 alleviates most of this, but there are plugins that can concatenate and minify css/js. It is a shame though that most of the attractive themes are so bloated.
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#14I 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.
Do you have any detailed notes on how you set this up? I haven't used WP in a long time, to be honest, so not sure how their rest api works? Is it straight forward? Would love to read about this setup you do, sounds great.
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#15Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#16I 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.
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#17I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?
cc @tyingq, @zaphar, @bybjorn, @dangerface
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#18Cool. I'll check this out. 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/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).
>The amount of css/js files that are required to load a page in a premium WordPress theme averages around 30+ files HTTP/2 alleviates most of this, but there are plugins that can concatenate and minify css/js. It is a shame though that most of the attractive themes are so bloated.
The target audience just doesn't care (or dont even know). Theme authors want to solve as many problems as possible to increase the chances someone buys their theme. It's in their best interest to sell something with everything but the kitchen sink (V5.0 now with kitchen sink!)
Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#19Re: Tonik — WordPress starter theme with CLI, ES6, Webpack and more
#20I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?