• Hi there, I can’t get the shortcode for a single language to work anymore

    If I put the shortcode in for the whole Google Translate dropdown, it works, but if I do something like this:

    <li class=”translate” id=”tr_fr”>
    <?php echo do_shortcode(‘[glt language=”French” label=”Translate”]’); ?>

    <li class=”translate” id=”tr_en”>
    <?php echo do_shortcode(‘[glt language=”English” label=”Translate”]’); ?>

    It used to work, but has stopped working and have tried it on two sites.

    https://ww.wp.xz.cn/plugins/google-language-translator/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Shortcode for single language not working’ is closed to new replies.