divibanks / footnotes-made-easy

A WordPress plugin that allows post authors to easily add and manage footnotes in posts and pages.
https://wordpress.org/plugins/footnotes-made-easy/
GNU General Public License v2.0
2 stars 3 forks source link

Compatibility Issue with RankMath #14

Closed cheonmux closed 2 months ago

cheonmux commented 3 months ago

Hello,

First of all, thank you very much for developing this plugin. It works great overall, but I have encountered a minor issue that I wanted to bring to your attention.

I am experiencing a compatibility issue when using RankMath and the Footnote feature in the Gutenberg Editor.

Specifically, when I insert a link to a footnote (( https://example.com)) in the answer field of the FAQ block provided by RankMath, the FAQ block itself does not display.

I hope this issue can be resolved. thank you!

lumumbapl commented 3 months ago

Hello.

Thanks for bringing this up.

I have tried to reproduce the issue... I'm not sure if I have done it correctly, but I can see that the FAQ block is displaying just fine.

Here is what I did:

  1. Set up a development site with the following specifications:
  1. Installed the latest version of RankMath SEO plugin (Free version)
  2. Added a new post and in the post, added the FAQ block by RankMath.

The image below shows the live post view without the footnotes added into the answer field of the FAQ block by RankMath.

before_1

The second image below shows when the footnotes have been added in the editor and the live view of the post.

After Inserting footnotes

Now, from the second image, you can see that the FAQ block is showing on the live post even after footnotes were added into the answer field of the FAQ Block by RankMath.

I'm not sure what the issue may be... It may be as a result of plugin conflict or something.

My first suggestion would be to try and adjust the priority value to a lower/bigger number.

priority

Try that and let me know how it goes.

Regards.

Patrick L.

cheonmux commented 2 months ago

Hello. First of all, I apologize for the delayed response.

I've managed to resolve the issue by adjusting the "priority value" as you suggested. I use another plugin to display related posts and feedback at the bottom of my posts.

To adjust the display order of the footnotes at the bottom of the post, I had set this option to "4". This was causing the Rankmath FAQ block not to display.

After changing the option value from 4 to 11, everything is working normally now. Thank you so much!

lumumbapl commented 2 months ago

Hello @cheonmux

I'm glad that it worked.

Thanks a lot.

Regards.

Patrick L.