Hi guys!
i would like to know how i can use these two arrows to display the next and previous post? They will be added below the images on my funny pictures blog. Sample: http://funny-pictures-blog.com/2011/05/11/funny-pictures-xbox-vs-gameboy/
These are the buttons i want to use:
http://funny-pictures-blog.com/wp-content/uploads/2011/05/never.png
http://funny-pictures-blog.com/wp-content/uploads/2011/05/older.png
i am using this code for the moment but ill guess it requires another code for adding your own images?
<div id="cooler-nav" class="navigation">
<?php $nextPost = get_next_post(false);
if($nextPost) { ?>
<div class="nav-box next" style="float:left;"><h3><strong><?php next_post_link('%link', '<<< Newer LOL Pics', false); ?></strong></h3><br>
<?php $nextthumbnail = get_the_post_thumbnail($nextPost->ID, array(130,130) ); } ?>
<?php next_post_link('%link',"$nextthumbnail", false); ?>
</div>
<?php $prevPost = get_previous_post(false);
if($prevPost) {?>
<div class="nav-box next" style="float:right;"><h3><strong><?php previous_post_link('%link', 'Older LOL Pics >>>', false); ?></strong></h3><br>
<?php $prevthumbnail = get_the_post_thumbnail($prevPost->ID, array(130,130) );}?>
<?php previous_post_link('%link',"$prevthumbnail", false); ?>
</div>
</div><!--#cooler-nav div -->
<br style="clear:both;"/>