Esempio n. 1
0
		</ul>
		<div class="clearfix"></div>
		<br />
		<?php 
require '../../blog/wp-blog-header.php';
if (isset($_GET["p"])) {
    $post_ = get_post($_GET["p"]);
    $title = $post_->post_title;
    $excerpt = $post_->post_excerpt;
    $PostID = $post_->ID;
    the_content($post_->ID);
    the_post($post_->ID);
}
?>
		<?php 
echo tptn_add_viewed_count(' ');
?>


		<div id="contact-module" class="row grey lighten-5 contact-module">
			<div class="post-page-bx row">
				<div class="col m12 l8 post-info-bx">
					<h1><?php 
echo $title;
?>
</h1>
					<?php 
$esvideo = false;
$categorias = array();
$categoriaU = 0;
foreach (get_the_category($post_) as $category) {
Esempio n. 2
0
/**
 * Add tracker code.
 *
 * @since 2.3.0
 *
 * @param bool $echo Echo the code or return it?
 * @return string|void
 */
function tptn_add_tracker($echo = true)
{
    if ($echo) {
        echo tptn_add_viewed_count('');
    } else {
        return tptn_add_viewed_count('');
    }
}