/**
 * 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('', '&nbsp;', '');
        } 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, '', '&nbsp;', '');
        } 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();
    }
    ?>
&nbsp;&nbsp;<?php 
    if (function_exists('wp_print')) {
        print_link();
    }
    ?>
</p>
		<?php 
    cp_edit_ad_link();
    ?>
	</div>

<?php 
}
Exemplo n.º 2
0
/**
 * 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('', '&nbsp;', '');
        } 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, '', '&nbsp;', '');
        } 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();
    }
    ?>
&nbsp;&nbsp;<?php 
    if (function_exists('wp_print')) {
        print_link();
    }
    ?>
</p>
        <?php 
    cp_edit_ad_link();
    ?>
    </div>
    
    <?php 
    if (function_exists('selfserv_sexy')) {
        selfserv_sexy();
    }
}