timber / starter-theme

The "_s" for Timber: a dead-simple theme that you can build anything from
MIT License
818 stars 278 forks source link

feat: remove sidebar #153

Closed Levdbas closed 4 months ago

Levdbas commented 5 months ago

Related:

Issue

Since the creation of the starter theme a lot has happened in PHP, WordPress and Timber. I want to make the starter-theme a more modern starting point for custom theme development.

Solution

This particular PR focusses on deleting the sidebar files. Since Gutenberg is introduced, I rarely see widgets being used in the wild. With widgets getting deprecated, I think it is time to say farewell to the sidebar.

Impact

No more sidebars, so cleaner code.

Usage Changes

Minimal, I think when you create a new site nowaydays, developers are not using the sidebar/widgets functions that much. For the few folks that still stick to it, the can re-add this functionality in a way they see fit.

Considerations

Not dumping the sidebar yet?

Testing

I might try to add some overall tests in the upcoming few PR's