If you are using Table of Contents Plus Plugin for Non-AMP and you want table content in AMP then you need to purchase Table Of Content For AMP extension and install.
The table of contents is generated automatically on the base of the document headings these auto insertion works only when the_content() has been used
1. First go to WordPress dashboard -> Settings -> TOC+ -> Main options. check this two option. click on save button.
2. Enter on Your Information Post or page. After, Click on “Publish”.
The output Table of content in AMP:
SHORTCODES
The shortcodes allow you to fully control the position of the table of contents within your page. The following shortcodes are available with this plugin. If you use the blow the shortcode it will work in AMP.
[TOC]
you want to generate the table of contents at the preferred position. where want to display a table of contents you need to add this shortcode in your page.
[NO_TOC]
Allows you to disable the table of contents for the current post, page, or custom post type.
That’s it for this tutorial!
We hope it helped you. If you have any feedback or questions, then please share them in the comments section below.
Does this work with any of the newer plugins? This plugin (on WordPress) is over 3 years old and no longer supported.
Hi Quratulain,
In AMP we are compatible with Table of content plus will you please tell us which Table of content plugin you are using.
Doesnt work with the page builder
Hi Hector,
Will you please tell us which page builder you are using, please to our support team from here – https://ampforwp.com/support/ and they will help.
I disabled “Allow user to toggle visibility of the table of contents” but on AMP sites this option is still active. How can I deactivate that again?
Hi Marcel,
We have already created ticket like below the screenshot – https://take.ms/8TXvQ it will be pushed in the future update.
TOC+ has a bad looking like this https://ibb.co/gWxZrjk
Hi Abdul Muhajir,
Will you please contact our technical team from here- https://ampforwp.com/support/ they will help you as soon as possible.
Can you support for Fixed TOC plugin?
Hi Minh Hieu,
Will you please contact our technical team from here- https://ampforwp.com/support/ they will help you as soon as possible.
Hello, I use Table of Contents Plus
Long time and working fine Table of Contents Plus
AMP
But today I was surprised that the table does not appear like before on AMP pages
This is an example from my site
https://bit.ly/3xVIWzs
I hope to solve the problem as soon as possible
HI Almurtaqa,
Will you please contact our technical team from here- https://ampforwp.com/support/ they will help you as soon as possible.
Check my TOC from mobile. Here is the URL – https://cryptobullsclub.com/wazirx-review/amp/
Why does it not show the way it is being shown here.
Here is the screenshot of what I see: https://bit.ly/3l4KRPl
Can you give me a fix?
Hi Sanjib,
Will you please contact our technical team from here- https://ampforwp.com/support/ they will help you as soon as possible.