Initial Commit N° : 003 - V.4.3.5

This commit is contained in:
2025-03-28 14:51:03 +01:00
parent 579b475021
commit 1ec9986b28
78 changed files with 1974 additions and 10329 deletions
+2 -18
View File
@@ -4,7 +4,7 @@
* @package nasatheme - elessi-theme
*/
defined('NASA_VERSION') or define('NASA_VERSION', '6.3.3');
defined('NASA_VERSION') or define('NASA_VERSION', '6.3.5');
/* Define DIR AND URI OF THEME */
define('ELESSI_THEME_PATH', get_template_directory());
@@ -62,6 +62,7 @@ if (!function_exists('elessi_setup')) :
array(
'primary' => __('Main Menu', 'elessi-theme'),
'vetical-menu' => __('Vertical Menu', 'elessi-theme'),
'vetical-float-menu' => __('Vertical Float Menu', 'elessi-theme'),
'topbar-menu' => __('Top Menu - Only show level 1', 'elessi-theme')
)
);
@@ -174,20 +175,3 @@ if (!function_exists('elessi_load_textdomain')) :
}
}
endif;
// -----------------------------------------------------------------------------
/**
* Change a currency symbol
*/
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol($currency_symbol, $currency) {
switch ($currency) {
case 'DZD':
$currency_symbol = 'DA';
break;
}
return $currency_symbol;
}