Jan
4
accepted Calling two images at a time? A better way?
Jan
3
awarded Editor
Jan
3
revised Calling two images at a time? A better way?
Fixing code as per comment.
Jan
3
comment Calling two images at a time? A better way?
Thanks. Not sure why I didn't think of the modulo. Your code is almost there. Not sure if I should edit your answer or not, but moving the placeholder <div> inside the loop and moving the counter before the last if does the trick.
Jan
2
asked Calling two images at a time? A better way?
Apr
25
awarded Scholar
Apr
25
accepted Query specific posts from parent by slug rather ID
Apr
25
comment Query specific posts from parent by slug rather ID
$ Thanks Michael. I don't know why I couldn't find get_page_by_title.
Apr
25
asked Query specific posts from parent by slug rather ID