WordPress.org

Ready to get started?Download WordPress

Forums

ColorWay
[resolved] polylang with colorway (2 posts)

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

  2. MariaWeb
    Member
    Posted 11 months 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>

Reply

You must log in to post.

About this Theme

About this Topic