November 4, 2009
Add Custom Content for Your Blog’s Index Page
Most of the time we want our index page to the flashiest page on our site. A while ago I wanted to put a dynamic slideshow and special copy on my home page that wouldn’t show up on the rest of the site (and oversized, 2009-trendy intro header sentences written in
Never fear. It’s so much easier than you think. In fact, it’s so easy to add custom content for your index you’ll wonder why you didn’t do it before.
Ready? Here’s all the code you need for WordPress:
<? php
if ( is_home() ) { include ('special_index_content.php'); }
?>
Now you can save your specialized content as ”special_index_content.php” (or ”Lafawnduh.php” for all I care) and you have an





