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 global $theme; get_header(); ?> <div id="main"> <?php $theme->..

Decoded Output download

<?php global $theme; get_header(); ?> 
 
    <div id="main"> 
     
        <?php $theme->hook('main_before'); ?> 
 
        <div id="content"> 
         
            <?php $theme->hook('content_before'); ?> 
             
            <?php  
                if (have_posts()) : while (have_posts()) : the_post(); 
                    /** 
                     * The default post formatting from the post.php template file will be used. 
                     * If you want to customize the post formatting for your homepage: 
                     *  
                     *   - Create a new file: post-homepage.php 
                     *   - Copy/Paste the content of post.php to post-homepage.php 
                     *   - Edit and customize the post-homepage.php file for your needs. 
                     *  
                     * Learn more about the get_template_part() function: http://codex.wordpress.org/Function_Reference/get_template_part 
                     */ 
 
                    get_template_part('post', 'homepage'); 
                     
                endwhile; 
                 
                else : 
                    get_template_part('post', 'noresults'); 
                endif;  
                 
                get_template_part('navigation'); 
            ?> 
             
            <?php $theme->hook('content_after'); ?> 
         
        </div><!-- #content --> 
     
        <?php get_sidebars(); ?> 
         
        <?php $theme->hook('main_after'); ?> 
         
    </div><!-- #main --> 
     
<?php get_footer(); ?>

Did this file decode correctly?

Original Code

<?php global $theme; get_header(); ?>

    <div id="main">
    
        <?php $theme->hook('main_before'); ?>

        <div id="content">
        
            <?php $theme->hook('content_before'); ?>
            
            <?php 
                if (have_posts()) : while (have_posts()) : the_post();
                    /**
                     * The default post formatting from the post.php template file will be used.
                     * If you want to customize the post formatting for your homepage:
                     * 
                     *   - Create a new file: post-homepage.php
                     *   - Copy/Paste the content of post.php to post-homepage.php
                     *   - Edit and customize the post-homepage.php file for your needs.
                     * 
                     * Learn more about the get_template_part() function: http://codex.wordpress.org/Function_Reference/get_template_part
                     */

                    get_template_part('post', 'homepage');
                    
                endwhile;
                
                else :
                    get_template_part('post', 'noresults');
                endif; 
                
                get_template_part('navigation');
            ?>
            
            <?php $theme->hook('content_after'); ?>
        
        </div><!-- #content -->
    
        <?php get_sidebars(); ?>
        
        <?php $theme->hook('main_after'); ?>
        
    </div><!-- #main -->
    
<?php get_footer(); ?>

Function Calls

get_header 1

Variables

None

Stats

MD5 12a73d56892c7e5709c2e1164b7273ea
Eval Count 0
Decode Time 85 ms