I currently have an array of post ID’s stored as $recenty_viewed that looks like this:

Array ( [0] => 3164 [1] => 3165 [2] => 3168 [3] => 3176 )

I’d like to display each post thumbnail and title using the ID’s above, but I can’t seem to figure out how to get the data from each post. Any idea?

Read more here: Display posts using post ID’s in an array


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: