Random Post AMP HTML ini sangat simple karena tidak memakan ruang yang banyak untuk menyimpan script. Disini saya mengambil script yang sudah dibuat oleh Mas Adhy dan Kang Ismet.
Tampilan Random Post Mas Adhy (kompidesign)
<amp-iframe expr:src='"https://cdn.rawgit.com/KompiAjaib/amp/master/random-posts.html?url=" + data:blog.homepageUrl' frameborder='0' height='320' layout='responsive' resizable='resizable' sandbox='allow-scripts allow-same-origin allow-modals allow-popups' width='600'>
<div aria-label='Related Posts' overflow='' role='button' tabindex='0'>Related Posts</div>
</amp-iframe>
Tampilan Random Post Kang Ismet (DroidPluss)
<amp-iframe expr:src='"https://cdn.rawgit.com/kangismet/ki-html/master/random-posts2.html?url=" + data:blog.homepageUrl' frameborder='0' height='320' layout='responsive' resizable='resizable' sandbox='allow-scripts allow-same-origin allow-modals allow-popups' width='600'>
<div aria-label='Related Posts' overflow='' role='button' tabindex='0'>Related Posts</div>
</amp-iframe>
Letakkan code tersebut di atas didalam area posting blog atau dimanapun sobat inginkan