[Contribution] - A better "Related Posts" for blog

edited November 2015 in Blog
Just wondering that it would be nice to have a "better" related posts for the blog.

Right now i see 2 flaws: 

1- The "related posts" code is inside the includes/content-single.php file, wich means that if you want to overwrite that piece of code you'll have to overwrite the whole file (on a child theme). That's what i did... But now on every update i have to diff this archive seeking for others updates. It would be great if the related posts was included as a function.

2- The behavior of the code seeks only for related categories, it's fine. But with a very little addition it could work on tags too, i've used the following code:


In the panel u guys could put, altogheter with the "show related posts" option, a new option "relate by:  - tags or - categories" 

This is just a suggestion, keep up th nice work.

Comments

Sign In or Register to comment.