Hi, how do I show 6 related posts at the end of every post instead of the current 3?
Thanks,
Adrian
To resolve this problems.
Firstly, you can open the single.php file / line 24
Replace the following code:
'posts_per_page'=>3,
With new code:
'posts_per_page'=>6,
Next, you can log in to dashboard > Theme > Customize > General Settings > add the following code to the “Header Script”
<style>
.single .related-post .hentry:nth-child(3n+1) {
clear: left;
margin-left: 0;
}</style>
Regards,
Dominic
Hi Dominic,
That didn’t really work out for me. Here’s a screen grab of how it looked: http://www.adrianlinks.com/wp-content/uploads/2013/09/Screen-Shot-2013-09-10-at-7.19.27-AM.png
To resolve this problems.
Firstly, you can open the single.php file / line 24
Replace the following code:
'posts_per_page'=>3,
With new code:
'posts_per_page'=>6,
Next, you can log in to dashboard > Theme > Customize > General Settings > add the following code to the “Header Script”
<style>
.single .related-post .hentry:nth-child(3n+1) {
clear: left;
margin-left: 0;
}</style>
Regards,
Dominic
Please login or Register to submit your answer