Created
September 5, 2012 06:47
-
-
Save tomharrigan/3632002 to your computer and use it in GitHub Desktop.
Adding a second intro message
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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