function sniic_publicacoes_content_filter($content)
{
    if (get_post_type() !== 'publicacoes') {
        return $content;
    }
    $content = $content . get_pdf_link();
    if (!empty(get_fonte_link())) {
        $content = $content . " - " . get_fonte_link();
    }
    return $content;
}
Example #2
0
	</div><!-- .entry-content -->

	<footer class="entry-footer">

		<?php 
if (get_post_type() == 'publicacoes') {
    ?>
			<?php 
    $args = array('before' => '<p class="entry-meta">', 'after' => '</p>', 'template' => '%1$s: %2$l');
    ?>
			<?php 
    the_taxonomies($args);
    ?>

			<?php 
    echo get_pdf_link();
    ?>
			<?php 
    echo "-";
    ?>
			<?php 
    echo get_fonte_link();
    ?>
			
		<?php 
}
?>

	</footer>
</article><!-- #post-## -->