0xsec Shell
0xSec


Server : LiteSpeed
System : Linux webbox1.ncrdns.net 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64
User : rahcos ( 1533)
PHP Version : 8.4.23
Disable Function : NONE
Directory :  /home/rahcos/.trash/wp-content/themes/hara/page-templates/parts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //home/rahcos/.trash/wp-content/themes/hara/page-templates/parts/nav.php
<?php 
    if ( has_nav_menu( 'primary' ) ) {
        $tbay_location = 'primary';
        $locations  = get_nav_menu_locations();
        $menu_id    = $locations[ $tbay_location ] ;
        $menu_obj   = wp_get_nav_menu_object( $menu_id );
        $menu_name  = hara_get_transliterate($menu_obj->slug);
    } else {
        $tbay_location = $menu_name = '';
    }
?>
<nav data-duration="400" class="hidden-xs hidden-sm tbay-megamenu slide animate navbar tbay-horizontal-default" data-id="'. $menu_name .'">
<?php
    $args = array(
        'theme_location' => 'primary',
        'menu_class' => 'nav navbar-nav megamenu',
        'fallback_cb' => '',
        'menu_id' => 'primary-menu', 
        'menu_class'  => 'nav navbar-nav megamenu menu',
    );

    $args['walker']             =   new Hara_Megamenu_Walker();

    wp_nav_menu($args);
?>
</nav>

c0oded By c0rpz