403Webshell
Server IP : 5.129.245.98  /  Your IP : 216.73.217.19
Web Server : Apache/2.4.66 (Debian)
System : Linux 1b8c17c336b9 6.8.0-111-generic #111-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 11 23:16:02 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.3.30
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/html/wp-content/themes/rehub-theme/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/wp-content/themes/rehub-theme/js/bettercategory.js
jQuery(document).ready(function($) {
   'use strict';
    //Woocommerce and post better categories
    if($('.product-categories .show-all-toggle').length > 0){
        $('.product-categories .show-all-toggle').each(function(){
            if( $(this).siblings('ul').length > 0 ) {
                var $toggleIcon = $('<span class="floatright font120 ml5 mr5 toggle-show-icon"><i class="rhicon rhi-angle-right"></i></span>');

                $(this).siblings('ul').hide();
                if($(this).siblings('ul').is(':visible')){
                    $toggleIcon.addClass( 'open' );
                    $toggleIcon.html('<i class="rhicon rhi-angle-up"></i>');
                }

                $(this).on( 'click', function(){
                    $(this).siblings('ul').toggle( 'fast', function(){
                        if($(this).is(':visible')){
                            $toggleIcon.addClass( 'open' );
                            $toggleIcon.closest('.closed-woo-catlist').removeClass('closed-woo-catlist');
                            $toggleIcon.html('<i class="rhicon rhi-angle-up"></i>');
                        }else{
                            $toggleIcon.removeClass( 'open' );
                            $toggleIcon.html('<i class="rhicon rhi-angle-right"></i>');
                        }
                    });
                    return false;
                });
                $(this).append($toggleIcon);
            }
        });
    }
}); 

Youez - 2016 - github.com/yon3zu
LinuXploit