My latest thoughts

Back to all

Wordpress Page Models for Custom Post Types

If your Wordpress projects use a lot of custom fields, it may be a good idea to prepare all the data a page may need outside of the view. I've started to introduce page models to my projects, where all the fields are gathered and prepared before I use them in my templates.