Example #1
0
function read_more()
{
    if (cml_get_current_language()->cml_locale === "it_IT") {
        $readmore = "Leggi di più";
        return $readmore;
    } else {
        $readmore = "Read More";
    }
    return $readmore;
}
Example #2
0
">
		    			<strong  itemprop="name" class="hidden">Seabag Original Underwater, made in Italy</strong>
		    			<img itemprop="logo"  src="<?php 
    echo get_header_image();
    ?>
" alt="Seabag Original Underwater">
		    		</a>
				</span>
			</div>

	    	<nav class="collapse navbar-collapse" id="collassa">
	    	<ul class="nav navbar-nav navbar-right">
	        	<li id="lingua" class="dropdown">
	            	<button type="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" class="btn btn-default navbar-btn">
		                <img src="<?php 
    $bandierina = cml_get_current_language()->id;
    echo cml_get_flag_by_lang_id($bandierina, $size = "tiny");
    ?>
" alt="Flag">
		                <span class="fa fa-caret-down"></span>
	            	</button>
			        <div class="dropdown-menu">
			            <?php 
    echo do_shortcode('[cml_show_available_langs]');
    ?>
			        </div>
	        	</li>
	      	</ul>

	        <?php 
    wp_nav_menu(array('theme_location' => 'header-menu', 'items_wrap' => '<ul id="%1$s" class="nav navbar-nav navbar-right">%3$s</ul>'));
Example #3
0
          <span class="modal-title">
           <?php 
if (cml_get_current_language()->cml_locale === "it_IT") {
    echo "Seleziona il tuo paese";
    $chiudi = "Chiudi";
} else {
    echo "Select your country";
    $chiudi = "Close";
}
?>
          </span>
        </div>
        <div class="modal-body text-center">
          <div>
            <?php 
if (cml_get_current_language()->cml_locale === "it_IT") {
    echo "Puoi acquistare i nostri prodotti da qualsiasi Continente utilizzando la valuta del tuo Paese. Clicca invia e verrai reindirizzato allo shop on-line più vicino a te.<br>";
}
?>
          </div>
          <div>
            <form action="<?php 
echo get_stylesheet_directory_uri();
?>
/choose.php" method="get">
              <select id="selezionaShop" class="btn btn-default dropdown-toggle" name="array_languages">


              </select>
              <input type="submit" class="showAwards btn btn-awards">
            </form>