I have been making Wordpress themes for a year or two and keep running into things I need to keep in mind when trying to make my themes as compatible and flexible as possible with their settings, plugins, etc.
Is there a resource that keeps a checklist of all the "don't forgets" of Wordpress theming? What things do you try to keep in mind when building your Wordpress themes?
Examples:
- Checking if the author/admin has disabled comments for a particular post.
- Remembering to call
wp_head()
at the end of the<head>
tag. - Remembering to call
wp_footer()
at the end of the<body>
tag. - Using
bloginfo()
variables instead of setting static values for charset, html type, description, etc. so admins can modify such things in the site settings. - Using
function_exists()
before calling a function from a plugin so it fails gracefully if that plugin isn't installed.