Hat Tip To ShoutMeLoud for this discovery. The cheat sheet is much more complete from PHP Team and included here is just one page. You can and should take a look at the complete cheat sheet if you are interested in all the in’s and outs of WordPress. Some of it’s basic but the cheat sheets are a nice quick reference guide as many of you know.
The template hierarchy is one are I haven’t really played with much. Haven’t needed to but I see where it could easily be useful and in some cases greatly desired. Church sites often want a completely different look for their youth page and templates are one way to help achieve that look. Unless I misunderstand (which is completely possible at this point… at least until I start using them) that the youth page would need it’s own css. It wasn’t easy finding the information on exactly how it was to be formatted. Did you have to have a special template page and styling. Here is what I found out and I hope it helps you also. Perhaps you won’t have to search as long as I did.When you edit your page select the template and choose custom. This enables the page to add its own tags to the styling. For example. You have a “Youth” page. Your styling would be entered into the custom.css file. Here is how it must be coded. For example:
body.custom.youth h2 {color: red; }
.custom.youth { text-align: justify; }
I give you only the vary basics. You would be able to adjust any page and style it to make it stand out from the others. Very simple and not very advanced, but it wasn’t sticking out very easily when I started searching google for the answer. Let me know if you found this helpful. Share also any further insights you might have found already.

{ 1 trackback }