Skip to content

Instantly share code, notes, and snippets.

@16am
Created September 4, 2013 08:35
Show Gist options
  • Save 16am/6434319 to your computer and use it in GitHub Desktop.
Save 16am/6434319 to your computer and use it in GitHub Desktop.
Conditional php for WPML plugin
<?php if (ICL_LANGUAGE_CODE == en) {
$showrum = '1343';
} else {
$showrum = '1096';
} ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment