[WIP] Investigating APTO vs bespoke page templates#127
[WIP] Investigating APTO vs bespoke page templates#127matt-bernhardt wants to merge 1 commit intomasterfrom
Conversation
|
One of the code design questions I have about work like this is how best to structure a bespoke page template that has custom PHP code interspersed with Loop markup. Prior to this PR, the An alternative, for a page like this, would be to split the template into three partials - one for the Current, Future, and Past loops. I worry, though, that this will get flagged for code repetition (not that the linter is the final arbiter of quality, but there's a reason why you try to avoid repeating code). These blocks are different enough that they might be acceptable - and the inside of the Loop here is already calling a shared |
8eb202d to
20416cd
Compare
5035f7f to
a99f431
Compare
30a3fdf to
28ce847
Compare
This is part of the work toward LM-436, investigating how to implement custom post orders (via APTO or via custom page templates)
Developer
Stylesheets
string incremented.
Secrets
Documentation
Accessibility
our guide and
all issues introduced by these changes have been resolved or opened as new
issues (link to those issues in the Pull Request details above)
Stakeholder approval
Dependencies
YES | NO dependencies are updated
Code Reviewer
(not just this pull request message)