How to display on archive pages ?

You can display related post under archive pages. You must edit  archive.php  files on your current theme and paste the following PHP code inside the loop.

<?php echo do_shortcode( '[related_post post_id=""]' ); ?>

Parameters

  • post_id => Current Post id
  • post_ids => Ex: 123,124
  • headline => String
  • view_type => grid, slider

Please see the screenshot of how it is done.

How to display on archive pages ? 1

Same way, you can use the related post shortcode under category.php , tag.php, taxonomy.php