Has anyone had this problem? I am using Wwordpress 2.5 and when I click show Gravatars, I get nothing, but when I switch to the default Wordpress theme; it works
Make sure your theme can support them. Look for the <?php echo get_avatar(); ?> Code (markup): call in your comments.php.
Hmmm... Simply add that function where you want your gravatar to appear, left or right. It should work then, to make it appear left or right simply edit the float option in your gravatar's css.
Yes, I did, but now I have a bigger issue, I tried adding code to my functions php and it showed an error; when I deleted it and tried to view my blog, I am getting this error Parse error: parse error, unexpected T_ENDIF in /home/content/s/t/e/steupz/html/wordpress/wp-content/themes/color_biz/functions.php on line 17 And my site is inaccessible. What can I do to fix it?
You have deleted some other lines when deleting the function, undo and delete it manually without messing with the paragraphs or other codes. In extreme case, delete the gravatar plugin and install it again.
Never mind I used FTP and edited the functions.php file. Right, so how do I get these gravatars to work?
Can you post the site where you've gotten the code from? I know they moved to Gravatars 2 awhile back, and I think it was available on a separate site.
You don't need to edit functions.php. You need to add that line of code in your comments.php. Experiment with the placement, just don't overwrite any exiting code!
Thanks mizaks, I've added it in about ten different places and I'm seeing the gravatar image, but I am also getting an error message. Is there a favored place to add the line, you can recommend?
Use it just above where the php do comment function exists, provided you fixed the css first it should work smoothly.
I'm afraid you'll have to break it down for me...or anyone else who can, please. What do I have to add to the css? And what is the php do comment function?