• Resolved aph5

    (@aph5)


    Hi,

    Is it possible to show the expanded Table of Contents by default, but then on specific pages, collapse it?

    Ie – Most the time I want it to show expanded, but not all the time.

    From my understanding it appears to be one or the other only?

    Thanks in advance.

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Author Magazine3

    (@magazine3)

    To hide from particular posts/pages you need to add the shortcode like this – [ez-toc initial_view=”hide” ] With the help of this you can achieve your requirement.

    Thread Starter aph5

    (@aph5)

    That’s really helpful, thank you. Exactly what I was looking for.

    Is there a list of shortcodes somewhere?

    I had a look at the documentation link: https://tocwp.com/docs/

    However, I didn’t see this or other shortcodes, just the basic [ez-toc] one.

    Plugin Author Magazine3

    (@magazine3)

    That’s really helpful, thank you. Exactly what I was looking for — You’re welcome. Glad to hear it.

    Is there a list of shortcodes somewhere? – Sorry, currently not available.

    However, I didn’t see this or other shortcodes, just the basic [ez-toc] one – Can you please let us know, Now the above provided shortcode resolved your issue?

    Thread Starter aph5

    (@aph5)

    The short code you suggested:

    [ez-toc initial_view=”hide”]

    Isn’t hiding the table of contents when inserted.

    Is the shortcode working correctly for you?

    I tried with both the CSS and JS loading method.

    Plugin Author Magazine3

    (@magazine3)

    Sorry for the delay in getting back to you. Regarding the above shortcode, there is a bug because of that, Its not working. We have raised the GitHub ticket in our repository. We will fix it and soon we will get back to you with an update after fixing it: https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/378

    And also we have raised another ticket regarding the option aswell. We will add the option and get back to you: https://github.com/ahmedkaludi/Easy-Table-of-Contents/issues/379

    Thread Starter aph5

    (@aph5)

    Thanks for the update.

    It would be great if this can be fixed.

    Once fixed, adding an article to the documents section to let people know the feature exists would also probably help.

    Could you reply back to this thread if/when the issue is fixed?

    Thanks!

    Plugin Author Magazine3

    (@magazine3)

    Yes, We will reply back once its get added. After it, We will add this to the documatation and let you know back.

    Thread Starter aph5

    (@aph5)

    Hi, just wanted to check if anyone has had a chance to look at Github issue #378 yet? Thank you.

    Plugin Author Magazine3

    (@magazine3)

    We are working on this ticket, Soon it will get fixed. Once it gets done then we will get back to you with an update after fixing it.

    Thread Starter aph5

    (@aph5)

    Hi, just wanted to follow up almost 3 months since the Github issue was raised.

    I see there is no progress thus far.

    Do you estimate this issue will be fixed within 3 months from now?

    Plugin Author Magazine3

    (@magazine3)

    Hi, We have added it to the current milestone. It will be fixed in the next update for sure.

    Plugin Author Magazine3

    (@magazine3)

    Hi, We have added this feature in the latest update 2.0.47. Kindly update the TOC plugin to the latest version and let us know back if you still face the issue So that we will assist you accordingly.

    Thread Starter aph5

    (@aph5)

    Hi, thank you for the update. I have tested it, and can report that the functionality is now working for me. Thank you ????

    I will test it out some more, but so far so good!

    Plugin Author Magazine3

    (@magazine3)

    Glad to hear it. You can feeel free to reach out to us if you have any issues or queries by opening a new thread. So that we will assist you to fix them.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Show expanded TOC by default, but show collapsed on specific pages’ is closed to new replies.