Closed Levdbas closed 4 months ago
@gchtr , I went over all your requests. As mentioned, I would like to discuss how the starter theme should look like but all other items are done!
@Levdbas Thanks for the updates! This looks good to me.
Hit me up with anything you want to discuss :):
This is the first changes in a larger set of changes that I am going to propose.
Related:
152
153
154
155
156
157
158
159
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 overhauling the PHP files to:
Impact
A better, less confusing, start with templating in Timber.
Usage Changes
Code is now namespaced, so people will have to add filters/actions with a namespace reference as well. In a next PR I will also solely focus on the starttheme class.
Considerations
This is not adhering to any code style yet, I would like to introduce that soon as well and thus lint the whole codebase.
Testing
I might try to add some overall tests in the upcoming few PR's