Skip to content

Instantly share code, notes, and snippets.

@mjepson
Created January 28, 2013 10:32
Show Gist options
  • Save mjepson/4654479 to your computer and use it in GitHub Desktop.
Save mjepson/4654479 to your computer and use it in GitHub Desktop.
<?php
$settings = array(
'homepage_intro_message' => ''
);
$settings = woo_get_dynamic_values( $settings );
?>
<?php if ( '' != $settings['homepage_intro_message'] ) { ?>
<section id="intro-message" class="home-section">
<header>
<h1><?php echo stripslashes( nl2br( do_shortcode( $settings['homepage_intro_message'] ) ) ); ?></h1>
</header>
</section><!--/#intro-message-->
<?php } ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment