Created
December 14, 2011 18:03
-
-
Save chriscoyier/1477726 to your computer and use it in GitHub Desktop.
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 ($_SERVER['something'] == mx) { ?> | |
<div class="no-translate"> | |
<?php echo get_post_meta($post->ID, 'translate-mx', true) ?> | |
</div> | |
<?php } else { ?> | |
<?php the_content(); ?> | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment