Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
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.