Usamos cookies para medir audiência e melhorar sua experiência. Você pode aceitar ou recusar a qualquer momento. Veja sobre o iMasters.
Fala galera, tenho 1 dúvida, já tentei de mil maneiras e não consegui, inclusive tentando com tabelas.
1) Como deixar os posts do blog um ao lado do outro? e com quebra de linha, ao invés do normal que é um embaixo do outro.
Eu uso esse código aqui:
>
<?php get_header(); ?>
<div class="content">
<div class="meio">
<?php
// this is where the Features module begins
query_posts('showposts=100&cat=4'); ?>
<?php while (have_posts()) : the_post(); ?>
<a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><img src="<?php bloginfo('template_url'); ?>/images/<?php
// this is where the custom field prints images for each Feature
$values = get_post_custom_values("Image"); echo $values[0]; ?>" alt="" /></a><a href="<?php the_permalink() ?>" rel="bookmark" class="title">
<br><?php
// this is where title of the Feature gets printed
the_title(); ?></a><br><?php if(function_exists('the_ratings')) { echo the_ratings_results(get_the_id()); } ?>
<?php endwhile; ?>
</div>
</div>
<?php get_footer(); ?>
Abraços.
Carregando comentários...