Support » Theme: ColorWay » polylang with colorway

  • Resolved MariaWeb

    (@mariaweb)


    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

Viewing 1 replies (of 1 total)
  • <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>
Viewing 1 replies (of 1 total)
  • The topic ‘polylang with colorway’ is closed to new replies.