Tagged: table of contents
-
AuthorPosts
-
October 1, 2021 at 12:41 pm #1323139
I have selected to show only H2 headings in a sidebar widget.
After updating to 4.8.6.3, If I add a “Special heading” content element it shows normally in the sidebar TOC widget. BUT, when adding a normal H2 element to a text block ( for example
<H2>Test title</H2>
) , that heading will not show up in the TOC widget in the sidebar. If I manually add a custom class to a H2 heading element via text mode ( for example:<H2 class="pagetitle">Test title</H2>
), the heading WILL show up in the TOC widget.Before the update, in Enfold 4.8.1, TOC widget also shows plain H2 heading elements in the sidebar TOC widget even when they don’t have custom class. I have confirmed that the existing sidebar TOC widget content without custom classes disappear when doing no other changes besides updating the theme.
Could you please look into this. Our site is in coming soon mode, it has not yet been published. Site preview info is in private content.
October 2, 2021 at 4:25 am #1323222Hey SML,
Thanks for the login details. Could you upgrade the account to have administrator rights please?
Best regards,
RikardOctober 2, 2021 at 5:43 am #1323231Hi Rikard,
Many thanks for your reply! The priviliges of the account have now been updated.
October 2, 2021 at 12:23 pm #1323260Hi,
Thanks for that. I see the problem on your site, and I can reproduce it on a test installation as well. I have reported this to our developers, we’ll update you here once we find a solution.
Best regards,
RikardOctober 2, 2021 at 4:39 pm #1323278Hey!
Sorry for the problems. Seems to be jQuery 3.x related (or WP 5.8.1) as we did not change anything with TOC.
But we could fix it.
Please update
enfold\js\avia-snippet-widget.js
with contents of
Do not forget to make a backup of the file for a fallback and clear server and browser cache.
If you need help let us know and we can do it for you.
Fix is already part of the next update.
Best regards,
GünterOctober 2, 2021 at 5:27 pm #1323283Does this work for you SML?
October 2, 2021 at 10:24 pm #1323302Guys, following this as I have the same problem. Here’s a link to my staging site, I even added a new Shortcode to the post to see if that did it with Blocks and nothing.
Please let us know if this works so we can implement this solution.
Thank you,
Havi
PS: Also let me know if there’s anything else you would like from me.
October 2, 2021 at 10:31 pm #1323303Guys,
Tested and it works like a charm!! Thank you!! You are geniuses!!
(Already fixed the footer – thank you for pinning it to the top)
Will check the rest to make sure all is well. :)
October 3, 2021 at 4:36 am #1323316Hi Havi,
Great, I’m glad that you got it working, and thanks for the update. If anyone else posting in this thread has problems with implementing this fix, then please share admin WordPress and FTP login details in private.
Best regards,
RikardOctober 3, 2021 at 10:55 am #1323322Many thanks for the fix, it is working perfectly now! I had to disable script and css merging and compression in the theme performance options to see the results in the front end.
October 3, 2021 at 6:16 pm #1323350Hi,
Glad Rikard could help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.Best regards,
Mike -
AuthorPosts
- The topic ‘TOC widget content disappers after update to 4.8.6.3’ is closed to new replies.