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 main template file. * * This is the most generic template file in a..
Decoded Output download
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Theme Palace
* @subpackage Yummy
* @since Yummy 0.1
*/
global $post;
get_header(); ?>
<div class="wrapper page-section">
<div id="primary" class="content-area">
<main class="site-main" role="main">
<div id="main" class="main-archive-wrapper clear">
<?php
if ( have_posts() ) :
$index = 1;
/* Start the Loop */
while ( have_posts() ) : the_post();
/*
* @hooked yummy_blog_posts - 10
*/
do_action( 'yummy_blog_posts_action', $index );
$index++;
endwhile;
else :
get_template_part( 'template-parts/content', 'none' );
endif; ?>
</div>
<?php
/**
* Hook - yummy_action_pagination.
*/
do_action( 'yummy_action_pagination' );
?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .wrapper/.page-section-->
<?php
get_footer();
?>
Did this file decode correctly?
Original Code
<?php
/**
* The main template file.
*
* This is the most generic template file in a WordPress theme
* and one of the two required files for a theme (the other being style.css).
* It is used to display a page when nothing more specific matches a query.
* E.g., it puts together the home page when no home.php file exists.
*
* @link https://codex.wordpress.org/Template_Hierarchy
*
* @package Theme Palace
* @subpackage Yummy
* @since Yummy 0.1
*/
global $post;
get_header(); ?>
<div class="wrapper page-section">
<div id="primary" class="content-area">
<main class="site-main" role="main">
<div id="main" class="main-archive-wrapper clear">
<?php
if ( have_posts() ) :
$index = 1;
/* Start the Loop */
while ( have_posts() ) : the_post();
/*
* @hooked yummy_blog_posts - 10
*/
do_action( 'yummy_blog_posts_action', $index );
$index++;
endwhile;
else :
get_template_part( 'template-parts/content', 'none' );
endif; ?>
</div>
<?php
/**
* Hook - yummy_action_pagination.
*/
do_action( 'yummy_action_pagination' );
?>
</main><!-- #main -->
</div><!-- #primary -->
</div><!-- .wrapper/.page-section-->
<?php
get_footer();
Function Calls
get_header | 1 |
Stats
MD5 | 5b4eb55be7b420a3b236b2c8d95383bd |
Eval Count | 0 |
Decode Time | 90 ms |