Remove hovercard for only certian gravatars

Since @toscho has seemed to have revived this question here is one way to do it (not saying it’s the best but it works) It’s important to note I’ve switched to Jetpack which has hovercards built in. If you are using Jetpack here’s how you do it. function nifty_remove_grofiles() { if(is_page(‘about’)){ remove_action( ‘wp_enqueue_scripts’, ‘grofiles_attach_cards’ ); … Read more

Snippet for own (gr)avatars

This is essentially how gravatar service works. Your code has no knowledge if particular email has gravatar associated with it. The only way would be to query gravatar API and store if there is gravatar available (and re-query for updates) for each email and resulting functionality will quickly snowball past just having that redirect there. … Read more

Force users to display default Gravatars

Yeah it is possible. Just add a function to the get_avatar hook function change_avatar($avatar, $id_or_email, $size, $default, $alt) { return ‘url_to_your_retro_image’; } add_filter(‘get_avatar’, ‘change_avatar’, 10, 5);

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)