Initial Commit N° : 003 - V.4.3.5
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* @author NasaTheme
|
||||
* @package Elessi-theme/WooCommerce
|
||||
* @version 3.6.0
|
||||
* @version 9.7.0
|
||||
*/
|
||||
if (!defined('ABSPATH')) :
|
||||
exit;
|
||||
@@ -14,17 +14,19 @@ global $nasa_opt;
|
||||
?>
|
||||
<form class="woocommerce-ordering" method="get">
|
||||
<span class="sort-text margin-right-5 rtl-margin-right-0 rtl-margin-left-5">
|
||||
<?php esc_html_e('Sort by', 'elessi-theme'); ?>
|
||||
<?php echo esc_html__('Sort by', 'elessi-theme'); ?>
|
||||
</span>
|
||||
|
||||
|
||||
<select name="orderby" class="orderby" aria-label="<?php esc_attr_e('Shop order', 'elessi-theme'); ?>">
|
||||
<?php foreach ($catalog_orderby_options as $id => $name) : ?>
|
||||
<option value="<?php echo esc_attr($id); ?>" <?php selected($orderby, $id); ?>><?php echo esc_html($name); ?></option>
|
||||
<option value="<?php echo esc_attr($id); ?>" <?php selected($orderby, $id); ?>>
|
||||
<?php echo esc_html($name); ?>
|
||||
</option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
<?php if (!isset($nasa_opt['nasa_in_mobile']) || !$nasa_opt['nasa_in_mobile']) : ?>
|
||||
<div class="nasa-ordering"><?php esc_html_e('...', 'elessi-theme'); ?></div>
|
||||
<div class="nasa-ordering"><?php echo esc_html__('...', 'elessi-theme'); ?></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<input type="hidden" name="paged" value="1" />
|
||||
|
||||
Reference in New Issue
Block a user