The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End WordPress – double query loop, if have customdfield

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #26443

    So, here is a little problem, that i want to solve.
    On homepage i do normal loop on each article and display 10 of them. Now on top of normal blog roll, i want to make "graphical" wersion of 5 newest news, that have custom field with image, so i can do kind of slider of them. And if the post was displayed it this top loop, it should not be displayed in other news in next loop. Also first loop should check no only 10 newest post to find for example 5 with custom field added, but as many as needed. The second loop may show 10 newests posts, excluding those, which was showed on top loop.
    Any clue how to do this kind of task?

    Thanks for any tips.

Viewing 1 post (of 1 total)
  • The forum ‘Back End’ is closed to new topics and replies.