!have_posts, show temporary dummy image
-
I have a page set up that queries 6 posts. In the case there are only five posts and I want to show a dummy image for the last post, is there a way to do that?
Something like: If post doesn’t exist, then show dummy.gif.
Code here: https://pastebin.com/pUeSg8Xz
I’m focused on lines 13-17.
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘!have_posts, show temporary dummy image’ is closed to new replies.