WordPress.org

Ready to get started?Download WordPress

Forums

ColorWay
[resolved] polylang with colorway (2 posts)

  1. MariaWeb
    Member
    Posted 1 year 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

  2. MariaWeb
    Member
    Posted 1 year ago #

    <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>

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic