Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Any progress, or is this an abandoned question? :) –  toscho Feb 18 '13 at 23:51

1 Answer 1

up vote 0 down vote accepted

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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