function jr_blog_post_after() { if (!is_singular('post')) { return; } // only show on blog post single page if (is_page()) { return; } // don't do post-meta on pages global $post; if (get_option('jr_ad_stats_all') == 'yes') { ?> <p class="stats"><?php appthemes_stats_counter($post->ID); ?> </p> <?php } the_tags('<p class="tags">' . __('Tags:', 'appthemes') . ' ', ', ', '</p>'); }
/** * add the blog post meta footer content * @since 3.1.3 */ function cp_blog_post_meta_footer() { global $post, $cp_options; if (!is_singular(array('post', APP_POST_TYPE))) { return; } ?> <div class="prdetails"> <?php if (is_singular('post')) { ?> <p class="tags"><?php if (get_the_tags()) { echo the_tags('', ' ', ''); } else { _e('No Tags', APP_TD); } ?> </p> <?php } else { ?> <p class="tags"><?php if (get_the_term_list($post->ID, APP_TAX_TAG)) { echo get_the_term_list($post->ID, APP_TAX_TAG, '', ' ', ''); } else { _e('No Tags', APP_TD); } ?> </p> <?php } ?> <?php if ($cp_options->ad_stats_all && current_theme_supports('app-stats')) { ?> <p class="stats"><?php appthemes_stats_counter($post->ID); ?> </p> <?php } ?> <p class="print"><?php if (function_exists('wp_email')) { email_link(); } ?> <?php if (function_exists('wp_print')) { print_link(); } ?> </p> <?php cp_edit_ad_link(); ?> </div> <?php }
/** * add the blog post meta footer content * @since 3.1.3 */ function cp_blog_post_meta_footer() { if (!is_singular(array('post', APP_POST_TYPE))) { return; } global $post; ?> <div class="prdetails"> <?php if (is_singular('post')) { ?> <p class="tags"><?php if (get_the_tags()) { echo the_tags('', ' ', ''); } else { _e('No Tags', APP_TD); } ?> </p> <?php } else { ?> <p class="tags"><?php if (get_the_term_list($post->ID, APP_TAX_TAG)) { echo get_the_term_list($post->ID, APP_TAX_TAG, '', ' ', ''); } else { _e('No Tags', APP_TD); } ?> </p> <?php } ?> <?php if (get_option('cp_ad_stats_all') == 'yes') { ?> <p class="stats"><?php appthemes_stats_counter($post->ID); ?> </p> <?php } ?> <p class="print"><?php if (function_exists('wp_email')) { email_link(); } ?> <?php if (function_exists('wp_print')) { print_link(); } ?> </p> <?php cp_edit_ad_link(); ?> </div> <?php if (function_exists('selfserv_sexy')) { selfserv_sexy(); } }
<p class="button edit_resume"><a href="<?php echo add_query_arg('edit', $post->ID, get_permalink(get_option('jr_job_seeker_resume_page_id'))); ?> "><?php _e('Edit Resume →', 'appthemes'); ?> </a></p> <?php } ?> <?php if (get_option('jr_ad_stats_all') == 'yes') { ?> <p class="stats"><?php appthemes_stats_counter($post->ID); ?> </p> <?php } ?> <div class="clear"></div> <?php } ?> </div><!-- end section_content --> <?php appthemes_after_post();