Live data from Hacker News

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

github.com

1–10 of 61 posts

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

#2
Cool. 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).

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

#4
post #2

Cool. 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

#7

I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?

WordPress is a cms first and foremost. edit: lol today I learned cms != blog

I'd say "sort of". It does support custom field types and custom post types. But you have to either write code, or use some 3rd party plugin to manage/use them.

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

#8

I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?

WordPress is a cms first and foremost. edit: lol today I learned cms != blog

Why do you then still get a blog when you install it?

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

#9

I keep seeing these projects to make wordpress work more like a cms and I keep thinking why not just use a cms?

WordPress is a cms first and foremost. edit: lol today I learned cms != blog

No. WordPress is a blogging platform. A CMS is much more than that. If you need a CMS you probably want something more than WordPress.

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

#10
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.
Post reply on HN