• Resolved Slimcrazy87

    (@slimcrazy87)


    Hello,
    I have istalled your plugin and I would like to know if it is possible to use a shortcode (didn’t find it) to put where I want into an article page.
    For example sometimes I would like to add TOC after the second heading tag and not after the first.

    Into article pages with long TOC, the first time that I click the last title of the TOC I jump at the end of the page and not in the correct title/section. If I do it again everything it is working fine. This happen just on desktop and not mobile.
    I tried it logged and not logged into WP and If it is my first time on that page everytime happen the same thing.
    What could be the problem? (I have installed WP rocket cache but I don’t think that it could be related to this problem)

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Steven

    (@shazahm1hotmailcom)

    @slimcrazy87

    RE: I would like to know if it is possible to use a shortcode (didn’t find it) to put where I want into an article page.

    Although not officially supported you can use either [toc] or [ez-toc] to manually place the TOC.

    RE: Into article pages with long TOC, the first time that I click the last title of the TOC I jump at the end of the page and not in the correct title/section. If I do it again everything it is working fine.

    Are there images or some other content on the page “lazy loaded” if there is, the page height would change after that content is loaded which would cause a shift in where the browser jumps to when the TOC links are clicked. If that is the case, there is nothing I can do about it.

    Thread Starter Slimcrazy87

    (@slimcrazy87)

    Hello,
    thank you!

    1) Yes it works
    2) Yes, you are right. The issue is related to the lazy loaded.

    Thank you. Bye!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Possibility to insert a Short Code and Problem’ is closed to new replies.