Skip to content

Instantly share code, notes, and snippets.

@mintindeed
Created July 16, 2012 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mintindeed/3124861 to your computer and use it in GitHub Desktop.
Save mintindeed/3124861 to your computer and use it in GitHub Desktop.
<div class="hl-logo-tease left">
<div class="inner">
<?php if(is_page('hollyscopes') || $post->post_parent=="9"):?>
<div class="logo-wrapper">
<a href="<?php echo pmc_heatmap_url('/','masthead')?>" class="logo"><img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hollywood Life by Bonnie Fuller, Your Celebrity News, Gossip and Style BFF" />Hollywood Life</a>
</div>
<div class="hl-logo-mid left">
<img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hot" class="gap-fix" />
</div>
<?php $logob = 'nhs';?>
<?php elseif ( is_home()):?>
<h1 class="logo-wrapper">
<a href="<?php echo pmc_heatmap_url('/','masthead')?>" class="logo"><img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hollywood Life by Bonnie Fuller, Your Celebrity News, Gossip and Style BFF" />Hollywood Life</a>
</h1>
<div class="hl-logo-mid left">
<img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hot" class="gap-fix" />
</div>
<?php $logob = 'all';?>
<?php elseif (is_page('style-awards') || $post->post_parent=="14"):?>
<div class="logo-wrapper">
<a href="<?php echo pmc_heatmap_url('/','masthead')?>" class="logo"><img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hollywood Life by Bonnie Fuller, Your Celebrity News, Gossip and Style BFF" />Hollywood Life</a>
</div>
<div class="hl-logo-mid left">
<img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hot" class="gap-fix" />
</div>
<?php $logob = 'nps';?>
<?php elseif (is_category('style') || in_category('style')):?>
<div class="logo-wrapper">
<a href="<?php echo pmc_heatmap_url('/','masthead')?>" class="logo"><img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hollywood Life by Bonnie Fuller, Your Celebrity News, Gossip and Style BFF" />Hollywood Life</a>
</div>
<div class="hl-logo-mid left">
<img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hot" class="gap-fix" />
</div>
<?php $logob = 'nst';?>
<?php elseif (is_category('pics') || in_category('pics') || $post->post_parent=="8" || is_page('pics')):?>
<div class="logo-wrapper">
<a href="<?php echo pmc_heatmap_url('/','masthead')?>" class="logo"><img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hollywood Life by Bonnie Fuller, Your Celebrity News, Gossip and Style BFF" />Hollywood Life</a>
</div>
<div class="hl-logo-mid left">
<img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hot" class="gap-fix" />
</div>
<?php $logob = 'nps';?>
<?php else:?>
<div class="logo-wrapper">
<a href="<?php echo pmc_heatmap_url('/','masthead')?>" class="logo"><img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hollywood Life by Bonnie Fuller, Your Celebrity News, Gossip and Style BFF" />Hollywood Life</a>
</div>
<div class="hl-logo-mid left">
<img src="<?php bloginfo('template_directory') ?>/images/theme/spacer.gif" alt="Hot" class="gap-fix" />
</div>
<?php $logob = 'all';?>
<?php endif;?>
<!-- Header New Teasers -->
<?php if ( !function_exists('dynamic_sidebar') || !($temp_debug=dynamic_sidebar($sidebar_top_story_name)) ) : ?>
<!-- no content -->
<?php
/* tracking code for vanishing Sidebar
*
* Since 2011-08-01 Vicky Biswas
*/
if ( file_exists(ABSPATH . '/MMC_ErrorLog.php') ) {
include_once ABSPATH . '/MMC_ErrorLog.php';
$mmc_log = new MMC_ErrorLog;
$mmc_log->addMessage('Temp Log #1841 - header.php 2 '.$sidebar_top_story_name.' returned '.($temp_debug?'true':'false').' Sidebars Dump '.serialize(get_option('sidebars_widgets')));
$mmc_log->log(); // finished adding messages, send data to syslog
}
endif; ?>
<!-- Header New Teasers -->
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment