Adam
Forum Replies Created
Viewing 5 replies - 1 through 5 (of 5 total)
-
I’ve realised it works in my standard HTML page because I have declared two post classes within twocolumnpost whereas with wordpress I have only done one. If I add a second post class within twocolumnpost to my index.php it duplicates the image. I don’t want that. The should sit side by side no problem. Is there a way I can have two posts within a div and have the second one show the next post?
Sorry, the twocolumnpost ones – i.e. the middle 2 posts of a video and a half width image.
Aha! No worries. I’ll switch it out just in case.
Crap sorry: [NSFW] http://suburbia.comoj.com/wordpress/
Forum: Themes and Templates
In reply to: [Custom Community] Thumbnail next to excerptsYou can do something like this:
<?php if (has_post_thumbnail()) : ?> <div class = "post-thumb"> <a href="<?php echo the_permalink(); ?>"><?php the_post_thumbnail(); ?></a> </div> <?php endif; ?>
Viewing 5 replies - 1 through 5 (of 5 total)