Fix: Ex Astris Stargazer child theme fails to load Gravatar [solved]

First off let me tip my hat to and offer a kudo to Sarah Gooding for creating the lovely WordPress child theme Ex Astris.

However this theme caused me untold headaches. Initially. So I abandoned months ago. But eventually came back to it because I like its appearance (sans hyphenation).

If you are having trouble getting your Gravatar to display in the theme there is a simple fix.

I spent more hours than I care to admit trying to resolve the theme failing to load my admin’s Gravatar. I went so far as to get involved with studying wordpress development and rewriting (more accurately, editing) the header.php, function.php, and the stylesheet css to pull a fixed image avatar from a url instead of pulling from Gravatar via ‘admin_email’. BIG WASTE OF TIME! Actually I started this about four months ago and put it aside and came back to it a couple days ago. The light came on for me minutes ago after reading a simple unrelated sentence in a development forum.

So Simple a Fix it is Embarrassing to Admit

If you’ve tried using the theme only to find your Gravatar also is not displaying don’t bother editing the php files, don’t bother creating a new admin, don’t bother deleting all other admin accounts (as one forum post recommended), and don’t bother editing the css files. Simply login to your wordpress installation and make certain your email account for your blog Settings > General > Email Address is the same email address as listed at Gravatar.com.

I had assumed (as I suspect others are assuming too [another assumption on my part]) the email address being pulled by get_avatar( get_option( ‘admin_email’ ), 320 ); ?> in header.php is the admin email address for the main admin account I use for logging into and managing my wordpress installation. NOPE. The code get ‘admin_email’ pulls from Settings > General > Email Address field NOT your admin user login account.

Gosh. WordPress is awesome. But it is complex. If you do not know its ‘guts’ sometimes it’s best to hire out. Saves a ton of headaches.

Hopefully this post helps at least one person. If so then I’m glad I shared. Thanks Sharon for such an awesome looking theme :)

About Andre Bell
Andre strives to help marketers discover the near-immediate impact of honest ethical marketing practices. He has advised hundreds of business owners on how to keep their dignity as they implement direct response marketing methods that work. Andre is one of only a handful of remaining professionals who can boast having become an online marketer a decade before the World Wide Web came into existence. And as a serial entrepreneur Andre launched his first direct mail business around the age of 12-years old. He has been building and advising ever since.