=== AMP Recent Posts === Contributors: nmvdvjr Tags: AMP, recent posts Requires at least: 4.5.3 Tested up to: 4.5.3 Stable tag: 1.0.8 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Plugin to display recent posts in your AMP template, with links to AMP articles (visitor is not redirected to regular website). == Description == Using the AMP Recent Posts plugin visitors that entered via AMP will be able to use AMP after clicking recent post links. Allows to customize the slug of the AMP recent links (to fit the AMP plugin you are using), 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-recent-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 Recent Posts plugin:__ 1. __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__/' 2. __heading='Recent Posts'__ will add an H3 heading, standard: none 3. __max='5'__ will set a limit to the amount of posts displayed:, standard: 10 4. 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() { ?>