Forums
Home / Theme: ColorWay / polylang with colorway
(@mariaweb)
10 years, 8 months ago
hi i wanted to use Polylang with colorway and found two tutorials(1 and 2) i tried writing in the home Page Intro:
<!--:en-->text<!--:--> <!--:is-->texti<!--:-->
but it didn’t work, does it only work with colorway pro, or do i need a different code polylang?
help appreciated 🙂
website
<div class="content-info"> <h2> <center> <?php $currentlang = get_bloginfo('language'); if($currentlang=="is-IS"): ?> <div><?php echo inkthemes_get_option('inkthemes_mainheading'); ?></div> <?php else: ?> <div><?php _e('english'); ?></div> <?php endif; ?> </center> </h2> </div>