Table of content Plus Compatibility in AMP

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.

Share
Published by
Sonali R

How to create an AWeber form in AMP

If you want to add an AWeber form in AMP then first you need to…

3 years ago

How to setup webpushr notification in AMP

Webpushr is the fastest growing web push notifications platform that marketers love & developers rely…

3 years ago

How to add Adobe Analytics in AMP

Follow these steps to add Adobe Analytics in AMP Step 1: Go to WordPress Admin Area -> AMP…

3 years ago

What is the CWV plugin all about

Core Web Vitals are the subset of Web Vitals that apply to all web pages,…

4 years ago

How to fix “Alternate page with proper canonical tag” Page Index issue in Google Search Console

The following reasons can be shown for non-indexing. Server error (5xx) Your server returned a 500-level…

4 years ago

Google Analytics ( GA4 ) integration in AMPforWP

We have added the Google Analytics 4 ( GA 4 ) integration in AMPforWP v1.0.80.…

4 years ago