As we learned back in Chapter 4, Thematic is a great framework because it's packed with cool functionality. To best understand how to build on its templates, we should spend some time finding out how they're put together.
Let's take a look again inside Thematic's directory; you'll see a pile of template files, and if you were paying close attention to the previous section, many of these should be familiar to you:
There's also a curious-looking directory, library, which is filled with directories for styles, languages, scripts, and so on. The most interesting subdirectory in there is extensions—it contains all the stuff that makes Thematic do the voodoo that it do. Erm, does. Here's what's inside:
The names of each of these files should give you a clue as to what they deal with: footer-extensions.php obviously relates to footers, comments-extensions.php to comments, and so on.
Was this article helpful?