DRY for WordPress Templates
By Steven Snell | Published September 3rd, 2009 in NewsWhen displaying posts in your WordPress theme, you usually have the same chunk of code in multiple places throughout your theme, and it usually never changes. That doesn’t make any sense at all. A better approach is to include that code in one file, and reference it from there: Don’t Repeat Yourself.



