@underscorefunk I like to use “templates” like models in a model, view, controller pattern. I.e. example.com/foo/ loads page-foo.php Inside foo.php we gather all of the parts we need to render the page and then pass it off to a template.
@underscorefunk I like to use “templates” like models in a model, view, controller pattern. I.e. example.com/foo/ loads page-foo.php Inside foo.php we gather all of the parts we need to render the page and then pass it off to a template.
@kingkool68
WordPress developer at @CoderPad. Formerly of @nclud @spiritedmediaco, @pewresearch, @usnews. I made dummyimage.com and married @naudebynature.