I’m new to WordPress theming and have downloaded the Starker’s WP theme from starkers
My question is, as this is an updated theme based on new twentyten for WordPress 3.0, do I need all the code in the functions.php file as it all seems to make reference to default twentyten theme?
I’m am doing a CMS and was wondering if there is any important code I need in this functions.php file?
Thanks.
It depends on what stuff you are going to incorporate in your theme. You don’t need that all unless you want.
The minimum you need is for sidebar integration, here is an example:
This is usually helpful when you want to assign what should come before or after the sidebar.
For example, I created a theme using Starker’s theme and here is all what is present in my
functions.phpfile: