[exec]
$loop = new WP_Query( array( ‘post_type’ =>’publication’, ‘posts_per_page’ => -1 ) );
while ($loop->have_posts() ): $loop->the_post();
echo ‘
‘;
the_title(‘
the_title(‘
‘, ‘
‘ );
$autor_list = get_the_term_list($loop->ID, ‘publication_autor’, ‘Autor(es): ‘, ‘, ‘, » );
if($autor_list!=») echo ‘
‘.$autor_list.’
‘;
$publicado_en = get_the_term_list($loop->ID, ‘publication_site’, ‘Publicado en: ‘, ‘, ‘, » );
if($publicado_en!=») echo ‘
‘.$publicado_en.’
‘;
echo ‘
‘;
endwhile;
[/exec]