X7ROOT File Manager
Current Path:
/home/notabjze/pyirates.net/wp-content/themes/betheme/includes
home
/
notabjze
/
pyirates.net
/
wp-content
/
themes
/
betheme
/
includes
/
ðŸ“
..
📄
content-portfolio.php
(11.73 KB)
📄
content-post.php
(11.87 KB)
📄
content-single-portfolio.php
(11.57 KB)
📄
content-single.php
(13.82 KB)
📄
footer-stickymenu.php
(3.75 KB)
📄
footer-template.php
(236 B)
📄
header-classic.php
(4.23 KB)
📄
header-creative.php
(3.56 KB)
📄
header-live-search.php
(952 B)
📄
header-login.php
(2.02 KB)
📄
header-side-slide.php
(9.83 KB)
📄
header-single-intro.php
(4.81 KB)
📄
header-sliding-area.php
(1.35 KB)
📄
header-style-shop-split.php
(1.77 KB)
📄
header-style-shop.php
(1.31 KB)
📄
header-template.php
(8.51 KB)
📄
header-top-area.php
(2.61 KB)
📄
header-top-bar-right.php
(8.29 KB)
📄
include-logo.php
(5.7 KB)
📄
include-slogan.php
(1.19 KB)
📄
include-social.php
(2.08 KB)
📄
include-wpml.php
(3.06 KB)
📄
off-canvas-sidebar.php
(978 B)
📄
quickview.php
(1.66 KB)
📄
wishlist.php
(2.17 KB)
📄
woocommerce-active-filters.php
(1.08 KB)
📄
woocommerce-cart.php
(2.26 KB)
📄
woocommerce-list-options.php
(5.48 KB)
Editing: include-wpml.php
<?php /** * WPML Custom Switcher * * @package Betheme * @author Muffin group * @link https://muffingroup.com */ if (has_nav_menu('lang-menu')) { // custom languages menu echo '<div class="wpml-languages custom">'; echo '<a class="active" href="#">'. esc_html(mfn_get_menu_name('lang-menu')) .'<i class="icon-down-open-mini" aria-hidden="true"></i></a>'; mfn_wp_lang_menu(); echo '</div>'; } elseif (function_exists('icl_get_languages')) { // WPML - Custom Languages Menu $lang_args = ''; $lang_options = mfn_opts_get('header-wpml-options'); $wmpl_flags = mfn_opts_get('header-wpml'); if (isset($lang_options['link-to-home'])) { $lang_args .= 'skip_missing=0'; } else { $lang_args .= 'skip_missing=1'; } $languages = icl_get_languages($lang_args); if (($wmpl_flags != 'hide') && $languages && is_array($languages)) { if (! $wmpl_flags || $wmpl_flags == 'dropdown-name') { // dropdown $active_lang = false; foreach ($languages as $lang_k=>$lang) { if ($lang['active']) { $active_lang = $lang; unset($languages[$lang_k]); } } // disabled if (count($languages)) { $lang_status = 'enabled'; } else { $lang_status = 'disabled'; } if ($active_lang) { echo '<div class="wpml-languages '. esc_attr($lang_status) .'">'; echo '<a class="active" tabindex="0" data-title="wpml" aria-label="'. __('Language menu icon', 'betheme') .'">'; if ($wmpl_flags == "dropdown-name") { echo esc_html($active_lang['native_name']); } else { echo '<img src="'. esc_url($active_lang['country_flag_url']) .'" alt="'. esc_attr($active_lang['translated_name']) .'" width="18" height="12"/>'; } if (count($languages)) { echo '<i class="icon-down-open-mini"></i>'; } echo '</a>'; if (count($languages)) { echo '<ul class="wpml-lang-dropdown" aria-expanded="false">'; foreach ($languages as $lang) { if ($wmpl_flags == 'dropdown-name') { echo '<li><a href="'. esc_url($lang['url']) .'">'. esc_html($lang['native_name']) .'</a></li>'; } else { echo '<li><a href="'. esc_url($lang['url']) .'"><img src="'. esc_url($lang['country_flag_url']) .'" alt="'. esc_attr($lang['translated_name']) .'" width="18" height="12"/></a></li>'; } } echo '</ul>'; } echo '</div>'; } } else { // horizontal echo '<div class="wpml-languages horizontal">'; echo '<ul>'; foreach ($languages as $lang) { if ($lang['active']) { $lang_class = 'lang-active'; } else { $lang_class = false; } if ($wmpl_flags == 'horizontal-code') { echo '<li class="'. esc_attr($lang_class) .'"><a href="'. esc_url($lang['url']) .'">'. esc_html(strtoupper($lang['language_code'])) .'</a></li>'; } else { echo '<li class="'. esc_attr($lang_class) .'"><a href="'. esc_url($lang['url']) .'"><img src="'. esc_url($lang['country_flag_url']) .'" alt="'. esc_attr($lang['translated_name']) .'" width="18" height="12"/></a></li>'; } } echo '</ul>'; echo '</div>'; } } }
Upload File
Create Folder