Hi all, What's the best way to list the 5 most popular articles in the same taxonomy as the current article (excluding current article). Can this be done with a repeater?
This premium tutorial provides the code for a custom WP_Query that pulls 5 recent entries of a particular post type that have the same taxonomy terms (checks for each term separately) as the current entry sorted by the number of views while excluding the current entry on single entry pages of a CPT.
We shall use Post Views Counter plugin for tracking the number of views for the CPT entries.