Forums

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

Home Forums JavaScript The Loop. How can I grab most recent post from CATEGORY? Re: The Loop. How can I grab most recent post from CATEGORY?

#73972
TheDoc
Member

If you used the wonderful featured image function, then you would use:

If you have put it in the body area of the post/page, you’ll be able to check if the post has any attachments to it and it gets slightly complicated from there. I would definitely use the featured image function!