WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am using the Paragrams theme from the kind folks at wpshower. I have a little different front page that I would like to load with an image rotator and different layout in the for loop. I have tried all of the conditional comments, with no avail.

There are some posts on this already that didn't have a solution...

I even tried this most basic if else from the WP forum without any help. What am i missing? :(

if (is_front_page())

<div>Flash Gordon</div>

<?php } else { ?>

<div>Wins the Battle!</div>
<?php } ?>
share|improve this question
up vote 0 down vote accepted

Have you tried creating a page template? Make a copy of page.php and call it page-home.php (if your home page is an actual page in Wordpress with the name of 'Home') or if not, then create a file called front-page.php and Wordpress will use that as the homepage template.

These two Wordpress Codex links will help you:

share|improve this answer
Thanks Dwayne. That was the ticket. front-page.php that is... – jasonflaherty Feb 23 '12 at 18:43
Awesome. Glad it worked for you Buildakicker. By the way, welcome to the site. – DigitalSea Feb 24 '12 at 1:30
Thanks! I just found that StackOverflow had all these other sites! LOVE IT! I use WP and SharePoint quite a bit, so this is so nice. – jasonflaherty Feb 24 '12 at 21:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.