Skip to content

Instantly share code, notes, and snippets.

View Altug's full-sized avatar
🎯
Focusing

Altug Gurkaynak Altug

🎯
Focusing
View GitHub Profile
@beovulf
beovulf / if_else_lang.php
Created December 1, 2016 08:19
If else language wordpress (polylang)
<?php
$currentlang = get_bloginfo('language');
if($currentlang=="en-GB"):
?>
<?php elseif($currentlang=="pl-PL"): ?>
<?php endif; ?>