• Resolved jakry001

    (@jakry001)


    Hi there,

    When hovering over the comments link on each post a tooltip appears.

    How can I remove it?

    Thank you,
    Ray

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter jakry001

    (@jakry001)

    ok i found the file which adds the title parameter to create the tooltip.

    \wp-includes\comments-template.php, line 1016

    i dont really want to edit this file, although it would be an easy quick fix.

    is something else that can be done to prevent this tooltip from appearing?

    thank you for any help ??

    Thread Starter jakry001

    (@jakry001)

    worked it out. just in case anybody may be interested in the future, here it is.

    i came up with this code and added it to the bottom of functions.php

    function my_comments_popup_link_attributes()
       {?>
            echo ' title=""';
       <?php }  
    
       add_filter('comments_popup_link_attributes', 'my_comments_popup_link_attributes');

    Great stuff jakry001. It solved my immediate problem of the tooltips getting in the way of reading the page titles.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Twenty ten: tooltip when hovering over comments link’ is closed to new replies.