Support » Fixing WordPress » Display latest post image only from different categories

  • am currently query_posts to grab the latest posts thumbs and displaying them on the home page as such

    [code moderated – use the pastebin for any code over the forum limit of 10 lines]

    am also grabbing the title and displaying it with a hover effect over the image when mouse over using css, my question is can i display the image post from 4 different categories? like to display only the last post from these categories.

    in image 1 it will always grab from category 1, image 2 from category 4, image 3 from category 2 etc … or will i have to keep repeating this loop to get he results i need?

    Thanks in advance.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Display latest post image only from different categories’ is closed to new replies.