Steps to implement Related Post Slider

Adding related posts slider on your post content page will increase pageviews as well as the average time per visitor on blog.

  • If Yet Another Related Posts (YARPP) plugin is already installed then go to step, If no, then install and activate YARPP plugin on your WordPress blog
  • Download “Related Posts Slider” plugin and upload on your WP server at location “wp-content/plugin” folder thru FTP
  • Activate “Related Posts Slider” plugin from “Plugins” page
  • By default, the preview slider of related posts will start appearing automatically by end of the post content. You can change the placement of the slider from below the content to above the content or manual insertion from the plugin settings panel.

In case of manual insertion, You need to add the below piece of code in single.php (in most WP themes),
<?php if(function_exists('get_related_posts_slider')) {get_related_posts_slider();} ?>
Now you can see the related posts appearing in a slider format at the location preferred by you.
As Shortcode support is available in Related Posts Slider, you can use the below shortcode anywhere in the post content to add the preview slider of related posts.


You can customize the “Related Posts Slider” width, height, background and foreground colors, font size etc. from the plugin settings panel.