WordPress is used by bloggers, which isn’t surprising being that it was originally a blogging platform. Although it has become much more than that, it still functions as a blogging tool for many. For those bloggers out there, I will now dissect SINGLE.PHP, the template that displays a single post. This is part of series of articles centered around dissecting the different components of WordPress. If you were able to understand, and make sense of, my discussion on PAGE.PHP, you’ll find SINGLE.PHP to be quite simple. It features the “loop,” navigational elements, the comments template (which I will also review here), […]
Dissecting WordPress: page.php
This is the 3rd in a series of articles discussing the different pieces of WordPress. We’ve already discussed the header.php and the footer.php—but they are only part of the picture. What happens between the two files is the actual content on your WordPress site and pages, and we will now delve into templates: where the header, footer, and content areas are put together. What’s displayed to the end user in their browser is directed by the “template file” being used. WordPress has a hierarchy that determines which template file is used in specific situations, and although it may initially seem confusing, there […]
Dissecting WordPress: Customizing header.php
This is the second in a series of articles on the parts and pieces of WordPress, and how they go together. As I said in my introductory article, I came to WordPress from a background of hard-coding my own HTML, CSS, PHP, and JavaScript. Learning the basics of WordPress—and CMS more broadly–took me a great deal of time. I learned how to store post and page information in a database, and then extract that information to build pages “on the fly” using templates–which results the WordPress page seen by the end user. This page has a header, footer, perhaps a sidebar […]
Dissecting WordPress: Customizing footer.php
My journey to WordPress began by learning basic HTML, laboriously typed out in Notepad. Over the years I added CSS, then some JavaScript, to gain a bit of interaction with website viewers. File “includes” for reusable page elements like a header and footer, or a menu, made building websites a bit more streamlined—though I still did a lot of hand-coding—and I was comfortable with it. I knew of the existence of WordPress, and CMS systems, and eventually the day came when I sat down and committed to learning WordPress so I could turn over sites to clients and they could […]
2 Comments