403Webshell
Server IP : 104.26.5.103  /  Your IP : 216.73.216.4
Web Server : nginx/1.27.1
System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : arabianexpress ( 1872)
PHP Version : 8.0.30
Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /storage/v9321/buzzbitesv3/public_html/wp-content/themes/bite/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /storage/v9321/buzzbitesv3/public_html/wp-content/themes/bite//header.php
<?php
/**
 * The Header: Logo and main menu
 *
 * @package BITE
 * @since BITE 1.0
 */
?><!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js<?php
	// Class scheme_xxx need in the <html> as context for the <body>!
	echo ' scheme_' . esc_attr( bite_get_theme_option( 'color_scheme' ) );
?>">

<head>
	<?php wp_head(); ?>
</head>

<body <?php body_class(); ?>>

	<?php
	if ( function_exists( 'wp_body_open' ) ) {
		wp_body_open();
	} else {
		do_action( 'wp_body_open' );
	}

	$bite_full_post_loading = ( bite_is_singular( 'post' ) || bite_is_singular( 'attachment' ) ) && bite_get_value_gp( 'action' ) == 'full_post_loading';
	$bite_prev_post_loading = ( bite_is_singular( 'post' ) || bite_is_singular( 'attachment' ) ) && bite_get_value_gp( 'action' ) == 'prev_post_loading';

	// Don't display the short links while actions 'full_post_loading' and 'prev_post_loading'
	if ( ! $bite_full_post_loading && ! $bite_prev_post_loading ) {
		// Short links to fast access to the content, sidebar and footer from the keyboard
		?><a class="skip-link bite_skip_link skip_to_content_link" href="#content_skip_link_anchor" tabindex="<?php echo esc_attr( apply_filters( 'bite_filter_skip_links_tabindex', 0 ) ); ?>"><?php esc_html_e( "Skip to content", 'bite' ); ?></a><?php
		if ( bite_sidebar_present() ) {
			?><a class="skip-link bite_skip_link skip_to_sidebar_link" href="#sidebar_skip_link_anchor" tabindex="<?php echo esc_attr( apply_filters( 'bite_filter_skip_links_tabindex', 0 ) ); ?>"><?php esc_html_e( "Skip to sidebar", 'bite' ); ?></a><?php
		}
		?><a class="skip-link bite_skip_link skip_to_footer_link" href="#footer_skip_link_anchor" tabindex="<?php echo esc_attr( apply_filters( 'bite_filter_skip_links_tabindex', 0 ) ); ?>"><?php esc_html_e( "Skip to footer", 'bite' ); ?></a><?php
	}

	do_action( 'bite_action_before_body' );
	?>

	<div class="<?php echo esc_attr( apply_filters( 'bite_filter_body_wrap_class', 'body_wrap' ) ); ?>" <?php do_action('bite_action_body_wrap_attributes'); ?>>

		<?php do_action( 'bite_action_before_page_wrap' ); ?>

		<div class="<?php echo esc_attr( apply_filters( 'bite_filter_page_wrap_class', 'page_wrap' ) ); ?>" <?php do_action('bite_action_page_wrap_attributes'); ?>>

			<?php do_action( 'bite_action_page_wrap_start' ); ?>

			<?php

			// Don't display the header elements while actions 'full_post_loading' and 'prev_post_loading'
			if ( ! $bite_full_post_loading && ! $bite_prev_post_loading ) {

				do_action( 'bite_action_before_header' );

				// Header
				$bite_header_type = bite_get_theme_option( 'header_type' );
				if ( 'custom' == $bite_header_type && ! bite_is_layouts_available() ) {
					$bite_header_type = 'default';
				}
				get_template_part( apply_filters( 'bite_filter_get_template_part', "templates/header-" . sanitize_file_name( $bite_header_type ) ) );

				// Side menu
				if ( in_array( bite_get_theme_option( 'menu_side', 'none' ), array( 'left', 'right' ) ) ) {
					get_template_part( apply_filters( 'bite_filter_get_template_part', 'templates/header-navi-side' ) );
				}

				// Mobile menu
				if ( apply_filters( 'bite_filter_use_navi_mobile', bite_sc_layouts_showed( 'menu_button' ) || $bite_header_type == 'default' ) ) {
					get_template_part( apply_filters( 'bite_filter_get_template_part', 'templates/header-navi-mobile' ) );
				}

				do_action( 'bite_action_after_header' );

			}
			?>

			<?php do_action( 'bite_action_before_page_content_wrap' ); ?>

			<div class="page_content_wrap<?php
				if ( bite_is_off( bite_get_theme_option( 'remove_margins' ) ) ) {
					if ( empty( $bite_header_type ) ) {
						$bite_header_type = bite_get_theme_option( 'header_type' );
					}
					if ( 'custom' == $bite_header_type && bite_is_layouts_available() ) {
						$bite_header_id = bite_get_custom_header_id();
						if ( $bite_header_id > 0 ) {
							$bite_header_meta = bite_get_custom_layout_meta( $bite_header_id );
							if ( ! empty( $bite_header_meta['margin'] ) ) {
								?> page_content_wrap_custom_header_margin<?php
							}
						}
					}
					$bite_footer_type = bite_get_theme_option( 'footer_type' );
					if ( 'custom' == $bite_footer_type && bite_is_layouts_available() ) {
						$bite_footer_id = bite_get_custom_footer_id();
						if ( $bite_footer_id ) {
							$bite_footer_meta = bite_get_custom_layout_meta( $bite_footer_id );
							if ( ! empty( $bite_footer_meta['margin'] ) ) {
								?> page_content_wrap_custom_footer_margin<?php
							}
						}
					}
				}
				do_action( 'bite_action_page_content_wrap_class', $bite_prev_post_loading );
				?>"<?php
				if ( apply_filters( 'bite_filter_is_prev_post_loading', $bite_prev_post_loading ) ) {
					?> data-single-style="<?php echo esc_attr( bite_get_theme_option( 'single_style' ) ); ?>"<?php
				}
				do_action( 'bite_action_page_content_wrap_data', $bite_prev_post_loading );
			?>>
				<?php
				do_action( 'bite_action_page_content_wrap', $bite_full_post_loading || $bite_prev_post_loading );

				// Single posts banner
				if ( apply_filters( 'bite_filter_single_post_header', bite_is_singular( 'post' ) || bite_is_singular( 'attachment' ) ) ) {
					if ( $bite_prev_post_loading ) {
						if ( bite_get_theme_option( 'posts_navigation_scroll_which_block', 'article' ) != 'article' ) {
							do_action( 'bite_action_between_posts' );
						}
					}
					// Single post thumbnail and title
					$bite_path = apply_filters( 'bite_filter_get_template_part', 'templates/single-styles/' . bite_get_theme_option( 'single_style' ) );
					if ( bite_get_file_dir( $bite_path . '.php' ) != '' ) {
						get_template_part( $bite_path );
					}
				}

				// Widgets area above page
				$bite_body_style   = bite_get_theme_option( 'body_style' );
				$bite_widgets_name = bite_get_theme_option( 'widgets_above_page', 'hide' );
				$bite_show_widgets = ! bite_is_off( $bite_widgets_name ) && is_active_sidebar( $bite_widgets_name );
				if ( $bite_show_widgets ) {
					if ( 'fullscreen' != $bite_body_style ) {
						?>
						<div class="content_wrap">
							<?php
					}
					bite_create_widgets_area( 'widgets_above_page' );
					if ( 'fullscreen' != $bite_body_style ) {
						?>
						</div>
						<?php
					}
				}

				// Content area
				do_action( 'bite_action_before_content_wrap' );
				?>
				<div class="content_wrap<?php echo 'fullscreen' == $bite_body_style ? '_fullscreen' : ''; ?>">

					<?php do_action( 'bite_action_content_wrap_start' ); ?>

					<div class="content">
						<?php
						do_action( 'bite_action_page_content_start' );

						// Skip link anchor to fast access to the content from keyboard
						?>
						<span id="content_skip_link_anchor" class="bite_skip_link_anchor"></span>
						<?php
						// Single posts banner between prev/next posts
						if ( ( bite_is_singular( 'post' ) || bite_is_singular( 'attachment' ) )
							&& $bite_prev_post_loading 
							&& bite_get_theme_option( 'posts_navigation_scroll_which_block', 'article' ) == 'article'
						) {
							do_action( 'bite_action_between_posts' );
						}

						// Widgets area above content
						bite_create_widgets_area( 'widgets_above_content' );

						do_action( 'bite_action_page_content_start_text' );

Youez - 2016 - github.com/yon3zu
LinuXploit