Change the Gravatar source for the Typecho Pinghsu theme
the comment avatar of the site can not be displayed yesterday. It looks pretty fucked up. It must be the previous source that died. I got up early this morning, so I replaced the new source to make the avatar display normally.
changing the Pinghsu theme is actually quite simple. It should be noted here that it is useless for you to change the source of the global Typecho. Why? Because the author directly transfers in the topic, it is not the function of the Typecho that is called.
first step: find the theme directory comments.php file and open it;
part 2: search https://secure.gravatar.com and find the corresponding URL. Each person may use a different source address, but the structure is the same, such as the location in the following figure
part III: replace the above URL with the domestic mirror URL you found. Here, I replace the source https://gravatar.loli.top
from Chengnan Old things. Part IV: save and refresh.
Copyright Protection: ShuDudu from the original article, reproduced Please keep the link: https://www.shududu.com/life/Change-the-Gravatar-source-for-the-Typecho-Pinghsu-theme.htm