WordPress related posts without a plugin

For my website I wanted to display related posts by category. For this feature I stumbled on a code snippet which worked for me. As you can see it looks for the similar category and then displays the content of the posts. All I needed to do is change the content to match the layout of my design.

Have any questions? Share this posts and tag me!


Marco van Zomeren is a designer on a audio visual journey. Currently working full time at a company with several subsidiaries in the financial sector. Besides his day job he spends most of his spare time on producing electronic music. More...


Safari border-radius + overflow: hidden + hover fix

Recently I added a corner radius to the thumbnails of my blog posts. Unfortunately this border-radius disappeared on the :hover state. After a while I stumbled on this solution. Today…

Read more

Divide html list in two

For my job I needed to split a html list in two. The tricky part was that the list contained links with borders. To create a solution I used jQuery…

Read more

CSS Line Arrow

Today I wanted to change the ascii arrow for a css version. While searching the web, I stumbled upon a Codepen with something similar. I tweaked it to fit my…

Read more