abhi1
Power Member
- Feb 12, 2009
- 698
- 359
For people having trouble with the thumbnails in the sidebar, use "Get Post Image" plugin.
U will need to add this code:
I've not tested it yet as am having trouble with as to where the code needs to be added but as from the demo on his site, it looks perfect
Code:
http://www.andrewgrant.org/get-post-image
U will need to add this code:
Code:
<ul>
<?php
query_posts(‘category_name=distractions&showposts=6′);
while(have_posts())
{
the_post();
$image_tag = gpi_get_image(0,"http://www.myserver.com/default.jpg");
$url = get_permalink();
[URL="http://www.php.net/echo"]echo[/URL] "<li><a href='$url'>$image_tag</a></li>";
}
?>
</ul>
I've not tested it yet as am having trouble with as to where the code needs to be added but as from the demo on his site, it looks perfect