Getting into The Loop

Before you dive headfirst into the theme's code, you need to understand a little bit about the workings of template code, which powers every WordPress theme.

WordPress templates use special template tags that retrieve information about your WordPress installation, such as the blog's name or a list of posts. The most critical part of the index.php template file is The Loop. This piece of code is the engine that powers much of WordPress.

To view The Loop, open the index.php file of the default theme, which is located in wordpress/themes/default (where wordpress is your WordPress directory).

Bigger Blogging Profits

Bigger Blogging Profits

Are You Ready to Start Writing? Times are very hard, and there is no reason to assume or imagine that things are going to improve any time soon. The world as a whole has undergone some very traumatic changes over the last few years, and the financial situation in most countries seems grim.

Get My Free Ebook


Post a comment