Table of content shortcode

Posted in: Newspaper
Post count: 77

Hi there,

I use a “Table of content” plugin but I’ve just find out that Newspapper has its own shortcode for that. How can I use it in a single post or even apply this to all my existing post (2000 items)?

Post count: 21065

Hello @Jumich!

We’ve added the Single Post Table of Contents shortcode. This can be found in the TagDiv Composer while you edit a single cloud post template. If you have only one Global template, then it will work on all your articles. Otherwise, you can add it to every single cloud post template. Please note that this shortcode will work only on this type of template and not on pages, for example.

Thank you!

Post count: 77

Ok, but how exactly the syntax for this shortcode look’s like? Can we add it to single-post.php ?

Post count: 21065

Hello @jumich!

Edit the article with the TagDiv Composer and add this element/shortcode: https://prnt.sc/psPhI6l2BEYu
Those are the settings: https://prnt.sc/T4eQyEVTMn2p and that is a headings list(set it in Gutenberg).

Thank you!

Viewing 4 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic.