Example #1
0
if (!empty($pagination['prev']) || !empty($pagination['next'])) {
    ?>
    <div class="pager">
        <?php 
    if (!empty($pagination['prev'])) {
        ?>
            <span><a href="?page=<?php 
        echo $page - 1;
        ?>
" class="pagination-arrow newer" rel="prev">Newer</a></span>
        <?php 
    }
    ?>
        <?php 
    if (!empty($pagination['next'])) {
        ?>
            <span><a href="?page=<?php 
        echo $page + 1;
        ?>
" class="pagination-arrow older" rel="next">Older</a></span>
        <?php 
    }
    ?>
    </div>
<?php 
}
if (disqus_count()) {
    ?>
    <?php 
    echo disqus_count();
}
Example #2
0
</a>
					</h1>
					<h5>Por <?php 
        the_author_posts_link();
        ?>
 | <img alt="Data da publicação" src="<?php 
        bloginfo('template_directory');
        ?>
/img/relogio_icone.png" /> <?php 
        the_time('d/m/Y');
        ?>
 | <img alt="Número de Comentários" src="<?php 
        bloginfo('template_directory');
        ?>
/img/comentario_icone.png" /> <?php 
        disqus_count('aethercentral');
        ?>
</h5>
					<p><?php 
        the_content('<span class="moretext">Continue lendo!</span>');
        ?>
</p>
				<?php 
    }
} else {
    ?>
				
				<div class="entry"><h1 style="font-size:18px; text-align:center; margin-top:20px;"><?php 
    _e('Ooops, sua pesquisa não retornou resultado algum. Que tal usar palavras-chave diferentes e ver se funfa?');
    ?>
</h1></div>