Fundahstic
Forum Replies Created
-
Forum: Themes and Templates
In reply to: Display Full Size Pictures Instead of ExcerptsThanks for the reply.
I have another question as well if you could help me.
I want to remove thumbnail from my post. It displays thumbnail on the sidebar.
<!– Here stars the part that shows a thumb and related post to individual articles/pages –>
<?php
if ( is_single() || is_page()) :unset($photo);
if ( current_theme_supports( ‘post-thumbnails’ ) && has_post_thumbnail() ) {
the_post_thumbnail(array(310,400, true));
}else{
if ($wpzoom_cf_use == ‘Yes’)
{
$photo = get_post_meta($post->ID, $wpzoom_cf_photo, true);
} // if CF used
else
{
if (!$photo)
{
$photo = catch_that_image($post->ID);
}
} // if CF not usedif ($photo)
{
?>
” rel=”bookmark” title=”Permanent Link to <?php the_title(); ?>”><img src=”<?php bloginfo(‘template_directory’); ?>/scripts/timthumb.php?w=310&zc=1&src=<?php echo $photo; ?>” alt=”<?php the_title(); ?>” />
<?php
}} // if theme does not have a thumbnail
?><?php endif ; ?>
<?php
if ( is_single() ) : ?><div class=”widget”>
<h3>Related Posts</h3>
<?php wp_related_posts(); ?>
</div><?php endif ; ?>
<!– end –>How can I just remove the thumbnail from displaying and keep the text that shows related posts. Only Remove the image from that code.
Thank You.
Forum: Fixing WordPress
In reply to: Space between images in galleryWOW! Great. Thank you so much for your reply.
It solved the problem.