New Theme Features in the Works for WordPress 4.7
I’m a bit behind the eight-ball on this. But I’m pretty excited by some of the new theme features that are in the works for WordPress 4.7. The most interesting to me is the new
get_theme_file_uri() function, which will be a child-theme aware method of easily linking to your theme resources. Got that? It’s cool because:
- It’s really a much better function than
get_stylesheet_directory_uri(), and others, which are somewhat awkward for beginners to learn and remember.
The other parts highlighted in John Blackbourn’s posts are about the template hierarchy, and while I think they’re cool and important I also think they’re rather more obscure use cases, so I’ll leave them to you to read on his original post.