Server IP : 172.67.214.6 / Your IP : 216.73.216.84 Web Server : LiteSpeed System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64 User : redwjova ( 1790) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/redwjova/clevorio.com/wp-content/themes/smart-mag/woocommerce/loop/ |
Upload File : |
<?php /** * Show options for ordering * * @see http://docs.woothemes.com/document/template-structure/ * @version 3.6.0 */ ?> <form class="woocommerce-ordering" method="get"> <input type="hidden" name="orderby" value="" /> <?php $selected = current($catalog_orderby_options); if (array_key_exists($orderby, $catalog_orderby_options)) { $selected = $catalog_orderby_options[$orderby]; } ?> <div class="order-select"> <span><?php echo esc_html($selected); ?> <i class="tsi tsi-angle-down"></i></span> <ul class="drop"> <?php foreach ($catalog_orderby_options as $id => $name) { echo '<li data-value="' . esc_attr($id) . '" class="' . ($orderby == $id ? 'active' : '') . '"><a href="#">' . esc_attr($name) . '</a></li>'; } ?> </ul> </div> <input type="hidden" name="paged" value="1" /> <?php wc_query_string_form_fields( null, array( 'orderby', 'submit', 'paged', 'product-page' ) ); ?> </form>