<?php if (is_home()) { ?>
<p>Content A</p>
<?php } else { ?>
<p>Content B</p>
<?php } ?>
Use the Wordpress codex to alter the (is_home) statement, for almost any condition you like!
http://codex.wordpress.org/Conditional_Tags
http://codex.wordpress.org/Conditional_Tags
Be the first to comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.