Debug logu
Alıntı
<?php
/**
* header.php
*
* The template for displaying the header.
*
* @author BetterStudio
* @package Publisher
* @version 5.0.0
*/
// Prints all codes before <body> tag.
// Location: "views/general/header/_common.php"
if(gbot()==0){
publisher_get_view( 'header', '_common', 'general' );
publisher_get_view( 'header', 'off-canvas', 'general' );
/**
* Fires before ".main-wrap" start
*
* @since 1.9.0
*/
do_action( 'publisher/main-wrap/before' );
// Activates duplicate posts removal temporarily for not counting posts inside mega menu
publisher_set_global( 'disable-duplicate-posts', true );
publisher_set_blocks_title_tag( 'p', true );
//
// Header locked inside page layout
//
{
$_check = array(
'boxed' => '',
'full-width' => '',
'stretched' => '',
);
if ( isset( $_check[ publisher_get_header_layout() ] ) ) {
?>
<div class="main-wrap content-main-wrap">
<?php
}
}
/**
* Fires in start of ".main-wrap" start
*
* @since 1.9.0
*/
do_action( 'publisher/main-wrap/start' );
if ( publisher_get_header_style() !== 'disable' ) {
// Prints header code base the style was selected in panel.
// Location: "views/general/header/header-*.php"
publisher_get_view( 'header', 'header-' . publisher_get_header_style() );
}
// Deactivates duplicate posts removal temporarily
publisher_unset_global( 'disable-duplicate-posts' );
publisher_unset_blocks_title_tag( true );
//
// Header outside page layout
//
{
$_check = array(
'out-full-width' => '',
'out-stretched' => '',
);
if ( isset( $_check[ publisher_get_header_layout() ] ) ) {
?>
<div class="main-wrap content-main-wrap">
<?php
}
}}
?>
<script type="text/javascript"> setTimeout(function() { $('#bdloader').hide(); },2200); /*1000 milisaniye = 1 saniye*/ </script>
<style type="text/css">
#bdloader{ position: fixed;width: 100%;height: calc(100% + 40px); margin-top:-40px;background: #fff;z-index:2147482133648; display: table;overflow: hidden; text-align: center; } #bdloader div{ display: table-cell;vertical-align: middle; } #bdloader img{ width: 140px; }
</style>
<?php if(gbot()==1){ ?>
<div id="bdloader">
<div>
<img src="https://www.theblockchainnew.com/wp-content/uploads/logo-en-1.png" alt="loader">
</div>
</div
<?php } ?>