Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php /** * The header for our theme * * This is the template that displays all of ..
Decoded Output download
<?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 oStore
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class('cms-index-index cms-home-page home'); ?>>
<div id="page" class="site">
<div>
<!-- Header -->
<div class="top_header_style_2">
<?php do_action('ostore_top_header'); ?>
</div>
<div id="header-wrap " class="header-wrap-2" style="background:url(<?php echo esc_url(get_header_image())?>) center no-repeat;">
<div class="container">
<!-- Header Logo -->
<div class="row">
<div class="hidden-sm hidden-lg hidden-md col-xs-3">
<button type="button" class="navbar-toggle pull-left header-two-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only"><?php esc_html_e('Toggle navigation','ostore'); ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="col-lg-3 col-sm-3 col-xs-6">
<div class="logo site-title ">
<?php the_custom_logo(); ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
<?php
$description = get_bloginfo( 'description', 'display' );
?>
<p class="site-description"><?php echo esc_html($description); ?></p>
</div>
</div>
<div class="col-lg-6 col-xs-6 hidden-xs">
<?php dynamic_sidebar('header-add'); ?>
</div>
<div class="col-lg-3 col-sm-3 col-xs-3 pull-right">
<?php if( ostore_is_woocommerce_activated() ): ?>
<div class="pull-right">
<?php
esc_html(ostore_top_wishlist());
esc_html(ostore_top_cart());
?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<nav id="primary-menu" class="primary-menu style-4 navbar navbar-default header-two" role="navigation" >
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<div class="container">
<div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1">
<?php wp_nav_menu(
array( 'theme_location' => 'menu-1',
'container' => 'ul',
'menu_class'=> 'nav dropdown navbar-nav nav-dark'
)
);
?>
<div class=" hidden-xs pull-right">
<?php do_action('ostore_header_search_bar'); ?>
</div>
</div><!-- /.navbar-collapse -->
</div><!--/.container -->
</div>
</nav>
<div id="content" class="">
Did this file decode correctly?
Original Code
<?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 oStore
*/
?>
<!doctype html>
<html <?php language_attributes(); ?>>
<head>
<meta charset="<?php bloginfo( 'charset' ); ?>">
<meta name="viewport" content="width=device-width, initial-scale=1">
<?php wp_head(); ?>
</head>
<body <?php body_class('cms-index-index cms-home-page home'); ?>>
<div id="page" class="site">
<div>
<!-- Header -->
<div class="top_header_style_2">
<?php do_action('ostore_top_header'); ?>
</div>
<div id="header-wrap " class="header-wrap-2" style="background:url(<?php echo esc_url(get_header_image())?>) center no-repeat;">
<div class="container">
<!-- Header Logo -->
<div class="row">
<div class="hidden-sm hidden-lg hidden-md col-xs-3">
<button type="button" class="navbar-toggle pull-left header-two-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only"><?php esc_html_e('Toggle navigation','ostore'); ?></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="col-lg-3 col-sm-3 col-xs-6">
<div class="logo site-title ">
<?php the_custom_logo(); ?>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a>
<?php
$description = get_bloginfo( 'description', 'display' );
?>
<p class="site-description"><?php echo esc_html($description); ?></p>
</div>
</div>
<div class="col-lg-6 col-xs-6 hidden-xs">
<?php dynamic_sidebar('header-add'); ?>
</div>
<div class="col-lg-3 col-sm-3 col-xs-3 pull-right">
<?php if( ostore_is_woocommerce_activated() ): ?>
<div class="pull-right">
<?php
esc_html(ostore_top_wishlist());
esc_html(ostore_top_cart());
?>
</div>
<?php endif; ?>
</div>
</div>
</div>
<nav id="primary-menu" class="primary-menu style-4 navbar navbar-default header-two" role="navigation" >
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<div class="container">
<div class="collapse navbar-collapse " id="bs-example-navbar-collapse-1">
<?php wp_nav_menu(
array( 'theme_location' => 'menu-1',
'container' => 'ul',
'menu_class'=> 'nav dropdown navbar-nav nav-dark'
)
);
?>
<div class=" hidden-xs pull-right">
<?php do_action('ostore_header_search_bar'); ?>
</div>
</div><!-- /.navbar-collapse -->
</div><!--/.container -->
</div>
</nav>
<div id="content" class="">
Function Calls
| language_attributes | 1 |
Stats
| MD5 | a28f62cb21daa186fbb26befe60f07f1 |
| Eval Count | 0 |
| Decode Time | 88 ms |