Dear community,
I’m using the following query on my homepage. The query should check if there is an entry, which isn’t older that 30 days. However, when there is more than one post from the same day, it only shows the first one of the single day. For example, there is a post from today at 8am and a second one from 4pm, it only shows the 8am one, not the 4pm one. Any idea whats wrong with my query? I guess it needs to be filtered by time instead of date?
Thanks for all your responses so far. Maybe i’ve misspelled it. I only want one entry, the problem is that it doesn’t show the most recent one, when there are multiple posts per day. I want to show the most recent one, i guess you could say the “last” entry. Like i said before: If there is a post from today at 8am and a second one from 4pm, it only shows the 8am one, not the 4pm one. If the post is on another day, it works without any problems.
What sort of numbering scheme do you use for your shorts when they are listed? Are they even listed (you query published which included listed and unlisted pages, but not drafts).
Default sorting is by order in the file system, unless you sort them by something, the most logic sorting would be by date here.