Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/walla3t.corals.io/wp-content/themes/apper/partials/mobile/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/walla3t.corals.io/wp-content/themes/apper/partials/mobile/mobile-dropdown.php
<?php
/**
 * Drop down mobile style template part.
 *
 * @package Apper WordPress theme
 */

// Exit if accessed directly
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( 'dropdown' != acmthemes_mobile_menu_style()
	|| ! acmthemes_display_navigation() ) {
	return;
}

// Navigation classes
$classes = array( 'clr' );

// Turn classes into space seperated string
$classes = implode( ' ', $classes );

// Menu Location
$menu_location = apply_filters( 'main_menu_location', 'main_menu' );

// Menu arguments
$menu_args = array(
	'theme_location' => $menu_location,
	'container'      => false,
	'fallback_cb'    => false,
);

// Check if custom menu
if ( $menu = acmthemes_header_custom_menu() ) {
	$menu_args['menu']  = $menu;
}

// Top bar menu Location
$top_menu_location = 'topbar_menu';

// Menu arguments
$top_menu_args = array(
	'theme_location' => $top_menu_location,
	'container'      => false,
	'fallback_cb'    => false,
); ?>

<div id="mobile-dropdown" class="clr">

	<nav class="<?php echo esc_attr( $classes ); ?>"<?php acmthemes_schema_markup( 'site_navigation' ); ?>>

		<?php
		// If has mobile menu
		if ( has_nav_menu( 'mobile_menu' ) ) {
			get_template_part( 'partials/mobile/mobile-nav' );
		} else {

			// Navigation
			wp_nav_menu( $menu_args );

			// If has top bar menu
			if ( has_nav_menu( $top_menu_location ) ) {
				wp_nav_menu( $top_menu_args );
			}
		}

 ?>

	</nav>

</div>

Spamworldpro Mini