Exemplo n.º 1
0
<?php

/* This be the template to view custom taxonomies ,you got me?
================================================== */
?>

<?php 
get_header();
?>

<?php 
echo headerImage();
?>

<div id="interior">
    <?php 
if (is_tax('white_paper_category')) {
    get_template_part('modules/page', 'whitePaperLanding');
} elseif (is_tax('case_study_category')) {
    get_template_part('modules/page', 'caseStudyLanding');
} elseif (is_tax('news_category')) {
    get_template_part('modules/page', 'newsLanding');
} else {
    get_template_part('modules/page', 'blogLanding');
}
?>
</div>

<?php 
get_footer();
Exemplo n.º 2
0
		<div class="portfolio-logo hidden-xs">
			<img src="<?php 
echo headerLogo($id);
?>
" class="img-responsive">
		</div>
		<div class="portfolio-header">
			<h1 class="text-uppercase"><?php 
echo str_replace(" ", "</br>", get_the_title());
?>
</h1>
		</div>
	</div>
	<div class="row">
		<img src="<?php 
echo headerImage($id);
?>
" class="img-responsive">
	</div>
	<div class="row secondary-row">
		<div class="col-sm-6 portfolio-copy">
			<p><?php 
echo portfolioIntroParagraph($id);
?>
</p>
		</div>
		<div class="col-sm-6 grey-img" style="background-image: url(<?php 
echo portfolioGreyImage($id);
?>
)">