What the Related Posts code does
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.
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.