Welcome to the Treehouse Community
Looking to learn something new?
Building a Wordpress theme
Building a quality, clean-code and functional WP theme is challenging but also hard taks sometimes. Let's say it works fine once you start using it, but what happens once you need to update WP with latest version. What are the most common unwanted effects to WP theme and how to avoid them? I'd like someone with experience on this topic to share their story or give few good tips.
Building a theme that is 100% future proof is going to be tough. What might be a solid function/hook/filter today may not be there in a years time.
The only thing I can suggest is to lookup any function/hook/filter that you are planning to use in your theme in the codex just to check if there are any notices about the function/hook/filter. The notices will have info about what you should use instead.
here is an example of a depreciated function the_author_url
Also if your building a theme for a client don't edit any of the core files as you will end up having to make that change every time you make that change.
And last tip, if your theme relies on plugins, choose plugins that are well maintained by the author.
I hope this helps.