Created
July 25, 2012 20:09
-
-
Save zackn9ne/3178270 to your computer and use it in GitHub Desktop.
wordpress php elseif
This file contains hidden or 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( is_home() ) : ?> | |
<meta name="description" content="Web Design, Web Development, and Search Engine Optimization in Columbus, Ohio" /> | |
<?php elseif( is_tag() ) : ?> | |
<meta name="description" content="You are now checking out all posts about <?php UTW_ShowCurrentTagSet('tagsetcommalist') ?>" /> | |
<?php else : ?> | |
<meta name="description" content="<?php the_excerpt() ?>" /> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do as many elseif as you want