In this article I show how Nick Croft's Related Posts with Thumbnails in Genesis code can be laid out in Pinterest style using Masonry jQuery script (WordPress comes in-built with Masonry).
What the Related Posts code does
Quoting Nick,
First, it finds the tags a post is assigned to then tries to find other posts using that same tag. If it gets enough posts, it stops. Otherwise it checks the category for more posts to finish out the total number of related posts I’m going to show.
Bricks Steps
Step 1
Create a file named masonry-init.js in child theme directory/js having the following code:
To view the full content, please sign up for the membership.
Already a member? Log in below or here.