Table of contents h3 anchor link not working

Posted in: Newspaper
Post count: 24

Hi..

I noticed that the Table of Content’s anchor link is not working

See the example link here: https://ipilih.com/kdramas-may-2023/
Attached screenshot link: https://ibb.co/VTJg64y

The anchor links for H3 are not automatically created. Do I need to set anything to make the Table of Contents work?

Thanks,
yeeloon

Post count: 27744

Hello yeeloon,

The table of content is not implemented to work with Smart list, only with normal content.

Thank you!

Post count: 24

Hi @Anamaria

In that case… how do I implement the Table of Contents? Can you advice?

Thanks,
yeeloon

Post count: 21065

Hello @yeeloon!

We’ve added the Single Post Table of Contents shortcode. This can be found in the TagDiv Composer while you edit a post template.

Thank you!

Post count: 24

Hi guys,

Yes I have added the Single Post Table of Contents shortcode via the composer. The thing is must I manually need to add a class ID to each of those H3 titles in order for the ToC hyperlinks to work (as in clickable and jump to the correct H3 title)?

Please advice.

Thanks,
yeeloon

Post count: 35449

Hi yeeloon,
The Single Post Table of Contents element will automatically filter the H’s from the post content, and if you want to set it only for a specific H then use this option – https://i.imgur.com/Yc3qGdF.png
Thank you!

Viewing 6 posts - 1 through 6 (of 6 total)
The forum ‘Newspaper’ is closed to new topics and replies.