By default, Jupiter X doesn't have option to change the number of related/recommended posts inside the single posts pages. It will calculated the number of related posts based on the layout you chose. 3 related posts for when you have one sidebar, and 2 related posts for when you have two sidebars. Also, 4 posts for when you don't have no sidebar (full width).

However, you can easily change that number by adding this snippet to your child theme's functions.php file:

add_filter( 'jupiterx_post_related_count', function() {
   $post_count = [
       'posts_per_page' => 2,
       'columns'        => 6,
   ];

   return $post_count;
} );

The columns value inside the $post_count array is the number of Grid columns. So, setting it as 6, will actually give you two columns. (number of grid cells is 12)




Related Articles(s):


Did this answer your question?