bbreeze25
Forum Replies Created
-
Forum: Plugins
In reply to: [Social Login] [Plugin: Social Login] Avatars not showinDear Claude, have seen your comment in the blog. Not sure whether you’ve seen it or not, but anyway, there was your avatar visible in the console panel but not on the actual website.
However, I have accidently found a solution. Not sure what have happened and why, but my comment file for the theme contained this line
<?php the_commenter_avatar($args) ?>in the place where it was showing the avatar. After replacing it with this one<?php echo get_avatar($comment); ?>everything seemed to work fine again.Thank you for your time though.
Cheers
Forum: Plugins
In reply to: [Social Login] [Plugin: Social Login] Avatars not showinthanks Claude, it is on russian if you don’t mind the language meteopathy.ru
thank you!
Forum: Themes and Templates
In reply to: how to switch from using custom fields to the_post_thumbnailmany thanks, alchy!
Forum: Themes and Templates
In reply to: how to switch from using custom fields to the_post_thumbnailthank you for the hint, alchymyth.
as I said I am seeking for an advice, as I am a complete novice here, how to switch from using routinely copy pasting procedure with custom fields with purpose to show the thumbnails up. The question is how would I shift to using new features of WP (featured images) with preserving all the hard work done for a month with custom fields copy pasting.
currently the code that show thumbnails up on the front page looks like:
<?php $values = get_post_custom_values("thumbnail"); if (isset($values[0])) { ?> <a href="<?php the_permalink() ?>" rel="bookmark" > <img src="<?php echo bloginfo('template_url'); ?>/scripts/timthumb.php?src=<?php echo get_option('home'); ?>/<?php $values = get_post_custom_values("thumbnail"); echo $values[0]; ?>&w=150&h=100&zc=1&q=100;" alt="<?php the_title(); ?>" class="left" /> </a> <?php } ?>I would really appreciate your help. ALl the images used for thumbnailing were assigned the name exactly the same as a post ID (literally, e.g. 1142.jpg) and stored in wp-content/uploads folder.
many thanks
`