• Hello!

    I’m running into an issue with this plugin and WP galleries. The HTML is missing the closing </figure> tag at the end of a default WP gallery block, but only if this plugin is set to auto insert after the 2nd (or more) image. Even if the nth image comes way before the gallery.

    Here’s an example: https://elegantpixelsweb.com/the-perfect-domain-name/

    The gallery set towards the bottom is set to aligncenter so you can clearly see where this is happening. Everything after that is also centered because the <figure> element isn’t closing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Thank you for reporting this.

    Could you please share a short video showing your plugin setup and the steps you are using to reproduce the issue? This will help us recreate it on our end and check the exact cause quickly.

    Thread Starter Emma Edgar Valcq

    (@emmaee)

    Hello,

    I’ve ran into this on two different sites. They’re set up very different but are both using Kadence theme + the kadence blocks library (and pro addons for those). However, this issue is with the default WP Gallery block, and does not occur with the Kadence gallery.

    To replicate:

    • Create a post with some content. Add a few images spread throughout the post.
    • Towards the end of the post, add a default WP Gallery block with 4 images.
    • In the TOC settings, set it to display after a set number of images. If this number is set to 1, everything is fine. If it’s set to 2 or more, the html breaks.
    • When broken, the first <figure> tag for the WP Gallery does not have a closing </figure> tag in the html, which causes everything after that to be “nested” inside the <figure> element. If the WP Gallery is set to align center, all the content after that will be aligned center.

    Let me know if that makes sense!

    Emma

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    We have raised a GitHub ticket regarding this concern, and it will be addressed in an upcoming update. We kindly request your patience in the meantime.

    Here is the Ticket : https://github.com/ahmedkaludi/easy-table-of-contents/issues/963

    Thread Starter Emma Edgar Valcq

    (@emmaee)

    Hey Akshay,

    Thank you so much for the update!

    Plugin Support Akshay A

    (@akshaycode1)

    Hi,

    Hope you are doing well.

    We have released version 2.0.84,  which addresses this issue. Kindly update the plugin to the latest version, clear your website cache, and then give it a try.

Viewing 5 replies - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.