WordPress while loop with current_post
I've created an ajax callback where I display posts with specific tags, which works fine. But I want to display the 5 posts with a different DIV surrounding each and I cannot get it to work. function filter_projects() { $tagSlug…