Learn how to earn $125 or more per hour as a freelancer - Free Test Drive

DRY for WordPress Templates

By Steven Snell | Published September 3rd, 2009 in News

When 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.

Visit Source.



Author: Steven Snell

Articles: Total of 7334 posts