xMarra
Forum Replies Created
Viewing 2 replies - 1 through 2 (of 2 total)
-
Forum: Themes and Templates
In reply to: Posts in multiple collumnsThanks for helping.
But when I try your code the page just goes blank. Here is my code:
<div id="articleContainer"> <?php query_posts('showposts=1'); ?> <?php while (have_posts()) : the_post(); ?> <article id="bigPost" <?php post_class() ?> id="post-<?php the_ID(); ?>"> <!-- check if the post has a Post Thumbnail assigned to it. --> <a href="<?php the_permalink() ?>"> <?php if ( has_post_thumbnail() ) { the_post_thumbnail('bigThumb'); } ?></a> <div class="postItems"> <h2 class="bigTitle"><a href="<?php the_permalink() ?>"><?php the_title(); ?></a></h2> <div class="entry"> <?php the_content(); ?> </div> <div class="postMetaData"> <span id="meta" class="time"> <?php the_time('d/m/Y g:ia') ?></span> <span id="meta" class="comments"><?php comments_number( 'Ingen kommentarer', 'Én kommentar', '% kommentarer' ); ?>.</span> <span id="meta" class="category">Kategori: <?php the_category(', ') ?></span> </div> </div> </article> <!-- end bigPost --> <?php endwhile; ?><?php endwhile; endif; ?> </div> <!-- end articleContainer -->Forum: Themes and Templates
In reply to: Posts in multiple collumnsI don’t understand how that will fix my problem. That is a sidebar widget, how do I use it in the loop?
Viewing 2 replies - 1 through 2 (of 2 total)