HEX
Server: Apache
System: Linux smartwebfx.com 5.4.0-211-generic #231-Ubuntu SMP Tue Mar 11 17:06:58 UTC 2025 x86_64
User: fastshipsa (1010)
PHP: 8.3.20
Disabled: NONE
Upload Files
File: /home/fastshipsa/public_html/wp-content/themes/fastrans/header.php
<?php
/**
 * The header for our theme
 * This is the template that displays all of the <head> section and everything up until <div id="content">
 *
 * @package FASTRANS
 * @since   1.0
 * @version 1.0
 */
$options = fastrans_WSH()->option();
$allowed_html = wp_kses_allowed_html( 'post' );
$icon_href = $options->get( 'image_favicon' );
$preloader_image = $options->get( 'preloader_image' );
$img_url = '';
if ( isset( $preloader_image['url'] ) ) {
	$img_url = $preloader_image['url'];
}
$image_size = $options->get( 'image_size' );

// width is set
$width = '80px';
if ( isset( $image_size['width'] ) ) {
	$width = $image_size['width'];
}

?>
<!DOCTYPE html>
<html <?php language_attributes(); ?> class="no-js no-svg">
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<?php if ( ! function_exists( 'has_site_icon' ) || ! has_site_icon() ): ?>
    <?php if($icon_href):?>
		<link rel="shortcut icon" href="<?php echo esc_url($icon_href['url']); ?>" type="image/x-icon">
		<link rel="icon" href="<?php echo esc_url($icon_href['url']); ?>" type="image/x-icon">
	<?php endif; ?>
    <?php endif; ?>
	<!-- responsive meta -->
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<!-- For IE -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <?php wp_head(); ?>
</head>

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

	<?php
	if ( ! function_exists( 'wp_body_open' ) ) {
			function wp_body_open() {
				do_action( 'wp_body_open' );
			}
	}?>

    <div class="boxed_wrapper">

		<?php if( $options->get( 'theme_preloader' )  ):?>
		<div id="preloader" style="background: #ffff url('<?php echo esc_url($img_url); ?>') no-repeat center center; background-size: <?php echo esc_attr($width); ?>"></div>
        <?php endif; ?>


		<?php if( $options->get( 'theme_backtotop' ) ):?>
		<div class="up">
        <a href="#" class="scrollup text-center"><i class="fas fa-chevron-up"></i></a>
    	</div>
		<?php endif; ?>

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