Show posts excerpts in category in horizontal, not vertical
-
I?′ve made a category template to show only the excerpts, following the instructions showed in https://codex.www.ads-software.com/Category_Templates. But the posts shows one above the other, like normal posts (you can see that here: https://www.nn45.com/main/nav/art/dibujos/original/bn-sketches/). I?′ve made that template trying to make a image gallery using the excerpts. There is a way to anihilate the “” tags the loop creates and show al the excerpts in horizontal way?
The code I use for the template is that:
<td rowspan=”2″ bgcolor=”#FFFFFF” width=”100%” height=”100%” valign=”top” align=”justify”><?php if ($posts) : foreach ($posts as $post) : start_wp(); ?><?php the_excerpt(); ?>
<?php endforeach; else: ?>
<p style=”margin-top: 0; margin-bottom: 0″ align=”justify”>Imposible encontrar concordancia
<p style=”margin-top: 0; margin-bottom: 0″ align=”justify”>
<?php endif; ?>
<p style=”margin-top: 0; margin-bottom: 0″ align=”center”><font face=”Arial” size=”2″><?php posts_nav_link(‘ — ‘, __(‘« Pagina anterior’), __(‘Pagina siguiente »’)); ?></font></td>
- The topic ‘Show posts excerpts in category in horizontal, not vertical’ is closed to new replies.