QuestionsCategory: General QuestionsDW Focus: 6 Related Post Links in Post/Article (Inside of the default 5)
Caleb Willaims
asked 5 months ago
Hello, On DW Focus, I am aware that the internal Related Posts section under every article/post page has 5 related posts with images and hyperlinks. Is there a way to increase that to 6 so it looks uniform? (3 per row)   Love to hear back when you can!
2 Answers
tech Staff
answered 5 months ago
Hi, 
You can open the single.php file, find line 76, and change the number post here: 
'posts_per_page'=>5,
Caleb Willaims
replied 5 months ago

Perfect! Is there anyway to have the Related Posts pull from the second tag as well as the first? Like if the first tag only has 1 post (or less than 6), can it move on and pull from the 2nd tag?

tech Staff
answered 5 months ago

Hi,
You can open the single.php file and find line 67, Replace the code of Related Post with the following code

Hope this helps!

Caleb Willaims
replied 5 months ago

This is great! Is there any way to make the font on the Related Posts may be back to its original size? Seem to be enlarged and bold. If not, that’s not a problem! Just noticeable.

techStaff
replied 5 months ago

You can add the following CSS code to your site:

.related-post .related-col .hentry .entry-title {
font-size: 14px;
line-height: 1.5;
margin: 10px 0;
}

Please login or Register to submit your answer