How to output multiple thumbnails for category archives
-
If there are more than or equal to 4 images, call 4 images. If there are less than 4 images, call the first image or feature image as thumbnail. If there is no thumbnail, it is best not to display it. To support external linked pictures.
like this. The archive list outputs multiple images from the article it belongs to:
title
Image 1. Image 2, Image 3, Image 4
title
first image (or featured image) …………
loop output
Thank you very much for providing such a great theme. As I use the free version, I try not to bother you if possible, but I raised a question here, and no one answered my question.
Therefore, I have to ask you here.
I searched all the tutorials on the Internet, but I can’t realize it. This is very simple for you. For my difficult problem, I don’t understand the code, so I ask you for advice. Thank you very much.If it bothers you, I’ll think of another way,
The topic ‘How to output multiple thumbnails for category archives’ is closed to new replies.
