Skip to content

Instantly share code, notes, and snippets.

@tomharrigan
Created September 5, 2012 06:47
Show Gist options
  • Save tomharrigan/3632002 to your computer and use it in GitHub Desktop.
Save tomharrigan/3632002 to your computer and use it in GitHub Desktop.
Adding a second intro message
<?php if ( ( $paged == 1 ) && ( ($settings['custom_intro_message'] == "true") || ($settings['custom_intro_message_two'] == "true")) ) { ?>
<section id="intro">
<?php if($settings['custom_intro_message'] == "true") { ?>
<div class="col-full">
<h1><?php echo stripslashes( $settings['custom_intro_message_text'] ); ?></h1>
</div>
<?php } if($settings['custom_intro_message_two'] == "true") { ?>
<div class="col-full">
<h1><?php echo stripslashes( $settings['custom_intro_message_text_two'] ); ?></h1>
</div>
<?php } ?>
</section>
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment