Plugin generated a list with AMP articles from the same category, to be implemented into your AMP template (visitor is not redirected to regular website).
Using the AMP Related Posts plugin visitors that entered via AMP will be able to use AMP after clicking related links. Allows to customize the slug of the AMP related links , add a title and set a limit to the total amount of links.
- Upload and activate plugin
- Place the below code in your AMP template (click the image to download the shortcode):
AMP Related Posts options:
Customizing the display of the AMP Related Posts plugin:
- Slug: depending on which AMP plugin you are using you can adjust the slug to direct to the AMP articles:
Standard: ‘amp’ (appripriate for the AMP plugin by Automatic).
Example: append=’amp-post’ will generate a slug ‘yourwebsite.nl/post/amp-post/
- Title: add a H3 heading:
heading=’AMP HTML Sitemap’
- Total links: set a limit to the amount of posts displayed:
The code can now look like this (click the image to download):
…what will result in in: