When developing a custom WordPress theme for a client we came across an annoying quirk in the WordPress editor user interface. I had added a custom post type to their theme to allow the client to …
themes
Variable scope in WordPress template parts
I was building a custom WordPress theme for a client site when I came across a frustrating problem with variable scope. I was modularising the theme using template parts, which get loaded using the …
[Read more...] about Variable scope in WordPress template parts