hello guys, I'm currently trying to implement a wordpress loop that holds a span6, the problem is, after the loop generates the first two post of span6 and span6, the next line gets an offset this is my current output,
<https://lh5.googleusercontent.com/-l26ypiVJI3o/UTNQt0ZGMeI/AAAAAAAAAFE/58Hf5o6pQDI/s1600/current+output.jpg> however, i am trying to achieve a more organized grid layout, something like this <https://lh3.googleusercontent.com/-kGiHr7xcK7s/UTNSLGBziBI/AAAAAAAAAFM/wSkcCmiOXuk/s1600/final+output.png> my current page is something like this: <!--============================================== <?php get_header(); ?> <!-- the main body here --> <div class="container"> <div class="row-fluid"> <section class = "span8"> <!--slide show loop area--> <!--content loop area--> <?php if(have_posts()): while(have_posts()): the_post();?> <article class="span6 tam-blog-two tam-half-width" id=""> <div> <div class=""> <a href="#"><h3 class="tam-blog-two-cat">Category</h3></a> <a href="<?php the_permalink();?>"> <!--call thumnails--> <?php if (function_exists('has_post_thumbnail') && has_post_thumbnail($post -> ID)){ $thumbnail = wp_get_attachment_image_src(get_post_thumbnail_id($post -> ID), full); ?> <img src="<?php echo $thumbnail[0]; ?>" alt="Post Image" /> <?php } else{ ?> <img src="<?php bloginfo('template_directory');?>/testimages/img3.jpg"> <?php } ?> </a> </div> <div> <a id="topicanchor" href="<?php the_permalink();?>"><h2 class="tam-blog-two-cat"><?php the_title(); ?></h2></a> <p> <?php the_time('F jS, Y'); ?> | by <?php the_author_posts_link(); ?> | <?php comments_popup_link('Awaiting your Comments', '1 Comment', '% Comments')?> </p> <p> <!--get the content and display only the first 120 characters--> <?php $content = get_the_content(); $content = strip_tags($content); echo substr($content, 0, 120); ?>... <a href="<?php the_permalink(); ?>">More →</a> </p> <?php edit_post_link('Edit this entry', '<p>', '</p>'); ?> </div> </div> </article> <?php endwhile; else: ?> <p><h3>Sorry, No Post Available.</h3></p> <?php endif; ?> <!--Famous Loop ends here--> </section> <?php get_sidebar(); ?> </div> </div> <?php get_footer(); ?> -- You received this message because you are subscribed to the Google Groups "twitter-bootstrap" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
