WordPress

Overcoming performance issues with posts__not_in with Unique_WP_Query

When developing a WordPress theme, we often want to ensure that there are no duplicates of the same post displayed. For example, if your site has multiple modules (or components, or widgets, or whatever you want to call it), how…