1

I am using the Extended Gravatar plugin by Reza Moallemi and it works great. However, on my about page I have a large gravatar to show the author. I would like to know if there is a class I can add to not show the hovercard. Or php that can be added to get_avatar('$email')

I could just not include the plugin on the about page but I'm thinking there is an easier way to fix this.

1
  • Any progress, or is this an abandoned question? :)
    – fuxia
    Commented Feb 18, 2013 at 23:51

1 Answer 1

0

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' );
   }
}
add_action('template_redirect', 'nifty_remove_grofiles');

this basically tells the JavaScript that controls the hovercards not to load on the about page.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.