Option to disable tooltips
-
“Switching on/off tooltips is something you can achieve if you go into Settings -> Footnotes.”
I’ve found that statement to be inaccurate. I have disabled it in settings, but tooltips still appear. I assume it’s because A) I have other plugins that use tooltips; or B) jquery is still being used by other plugins.
The only way for me to disable the tooltips was to change this line of code:
$id_replace = $this->current_options[ 'pre_identifier' ] . '<a href="' . $id_href . '" id="' . $id_id . '" class="footnote-link footnote-identifier-link" title="' . $id_title . '">' . $this->current_options[ 'inner_pre_identifier' ] . $id_num . $this->current_options[ 'inner_post_identifier' ] . '</a>' . $this->current_options[ 'post_identifier' ];
to this line of code:
$id_replace = $this->current_options[ 'pre_identifier' ] . '<a href="' . $id_href . '" id="' . $id_id . '" class="footnote-link footnote-identifier-link">' . $this->current_options[ 'inner_pre_identifier' ] . $id_num . $this->current_options[ 'inner_post_identifier' ] . '</a>' . $this->current_options[ 'post_identifier' ];
More specifically, I had to delete the following code from /wp-content/plugins/footnotes-made-easy/footnotes-made-easy.php :
title="' . $id_title . '"
It would be helpful to have a more “aggressive” setting to address this issue because my manual hack will be overwritten whenever you update the plugin.
- The topic ‘Option to disable tooltips’ is closed to new replies.