[Plugin: Better WordPress Recent Comments] Minimize Redirects, Query and keep default image
-
https://0.gravatar.com/avatar/3920898235023523?s=50&d=http%3A%2F%2Fwww.example.com%2Fwp-content%2F… https://www.example.com/avatar.png?s=50
This is how I have set to display custom avatar using code given in my functions.php. However, each avatar as it suppose to produces it’s own query/redirect which affects slightly while optimizing site.
If avatar is not present on gravatar for user, than just display plain default local avatar without retrieving redirected link like put on above? Like simple https://www.example.com/avatar.png straight up instead link pasted above.
Thanks .https://www.ads-software.com/extend/plugins/bwp-recent-comments/
- The topic ‘[Plugin: Better WordPress Recent Comments] Minimize Redirects, Query and keep default image’ is closed to new replies.