Two Common Mistakes In Themes

Scribu who is the author of the Front-end Editor plugin that I reviewed in April 2009 has published some common mistakes found within themes. For some reason, themes sometimes don’t have the wp_footer template tag declared which is used by analytic plugins such as Woopra and by Front-end editor. The other problem deals with the_title being used in the wrong places. If you’re an aspiring theme developer, keep these mistakes in mind and don’t make them!

2

2 responses to “Two Common Mistakes In Themes”

  1. Also, anything dynamic that you put in an html attribute should be run through esc_attr() first. That will prevent it from having quoting problems and other such things.

Newsletter

Subscribe Via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: