Viewing 1 replies (of 1 total)
  • Plugin Author Alessandro Senese

    (@ceceppa)

    Hi,
    currently the only way to do that is write your own custom code, something like:

    $t = CMLPost::get_translations( get_the_ID() );
    if( isset( $t[ 'indexes' ] ) ) :
    foreach( $t[ 'indexes' ] as $lang => $id ) :
      $link = cml_get_the_link( $lang );
    ?>
        <a href="<?php echo $link ?>">
        <span class="title">Click here for the <?php echo CMLLanguage::get_name( $lang ); ?> version</span>
      </a>
    <?php  endforeach;   ?>
Viewing 1 replies (of 1 total)
  • The topic ‘Change Flag label on Front-end’ is closed to new replies.