PluginProbe
WP Directory Kit / 1.5.9
WP Directory Kit v1.5.9
1.5.9 1.5.7 1.5.6 1.5.5 1.5.4 1.5.3 trunk 1.1.0 1.1.6 1.1.8 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 1.3.8 All 37 releases
wpdirectorykit / elementor-elements / views / wdk-language-switcher-list.php

wdk-language-switcher-list.php in WP Directory Kit 1.5.9, at elementor-elements/views/wdk-language-switcher-list.php

19 lines 740 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * The template for Element Currency Picker.
4 * This is the template that elementor element dropdown
5 *
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit; // Exit if accessed directly.
10 }
11
12 ?>
13 <div class="wdk-element" id="wdk_el_<?php echo esc_html($id_element);?>">
14 <div class="wdk-language-switcher-list">
15 <?php foreach ($langs as $lang): if ($lang['lang_code'] == wdk_current_language()) continue; ?>
16 <a class="item" data-no-translation href="<?php echo esc_url( $lang['url'] );?>" data-no-translation><img src="<?php echo esc_url( $lang['icon']);?>" alt="<?php echo esc_attr( $lang['lang_code']);?>"> <?php echo esc_html( $lang['title'] );?> </a>
17 <?php endforeach;?>
18 </div>
19 </div>