=== AMP Related Posts === Contributors: Nick van de Veerdonk (nmvdvjr) Tags: AMP, related posts Requires at least: 4.5.3 Tested up to: 4.5.3 Stable tag: 1.0.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Plugin generated a list of links to AMP articles from the same category, to be implemented into your AMP template. == Description == 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. This plugin will not be supported, I will however try to answer all question in the comment section of the [plugin website](https://jaaadesign.nl/en/blog/amp-related-posts/) and create a FAQ. == Installation == 1. Upload and activate plugin 2. Place this code in your AMP template: __``__ That's it! Customizing the display of the AMP Related Posts plugin: * __append='amp'__ change the slug to point to your AMP verion. Depending on which AMP plugin you are using you can adjust the slug to direct to the AMP articles, standard: 'amp' (appropriate for the AMP plugin by Automatic). Example: __append='amp-post'__ will generate a slug 'yourwebsite.nl/post/__amp-post__/' * __heading='Recent Posts'__ will add an H3 heading, standard: none * __max='5'__ will set a limit to the amount of posts displayed:, standard: 10 * The code can now look like this: __``__ __Additional__ If you are using the AMP plugin by Automattic you can also put the code in your theme's functions.php, like so: `//* Add content to the AMP template footer (AMP plugin Automattic) //* Place in your theme's functions.php function add_content_to_amp_footer() { ?>