Example #1
0
                ?>
										<li>
											<a href="<?php 
                the_permalink();
                ?>
">
									 			<?php 
                if (has_post_thumbnail()) {
                    chromatic_post_thumbnail();
                } else {
                    ?>
										                <img src="<?php 
                    echo get_template_directory_uri();
                    ?>
/images/no-image-<?php 
                    echo chromatic_image_orientation();
                    ?>
.png" class="wp-post-image" alt="<?php 
                    _e('Set a Featured Image', 'chromatic');
                    ?>
" />
									            <?php 
                }
                ?>
											</a>
									            <div class="post-info">
										            <h4>
												 		<a href="<?php 
                the_permalink();
                ?>
"><?php 
Example #2
0
<body lang="en" <?php 
body_class();
?>
>
<?php 
$background_image = get_background_image();
if (!empty($background_image)) {
    ?>
	<div class="parallax-bg" style="background:url('<?php 
    background_image();
    ?>
')"></div>
<?php 
}
$thumbOrientation = chromatic_image_orientation();
$cats = getCategories();
?>
	<?php 
do_action('chromatic_before_page');
?>

	<!-- BeginHeader -->
	<div id="page" class="clearfix hfeed <?php 
echo $options['chromatic_grids'];
?>
 portfolio-<?php 
echo $thumbOrientation;
?>
">
	<?php