Defining what content shows up based on page type

by

Quick code to define what content shows up based on page type. I had to have different containers show up depending on page.

<?php if( is_front_page() ): ?>
<?php elseif( is_page() ): ?>
<?php elseif ( is_single() ): ?>
<?php elseif ( is_home() ): ?>
<?php endif; ?>

Leave a Reply

Your email address will not be published. Required fields are marked *


PageLines