How to insert all images in one post in template
-
Hi,
I am trying to insert all images in a gallery post throughout the single.php template
I can add the featured image with this code
<?php if ( has_post_thumbnail() ) { the_post_thumbnail('gallery1'); } ?>
but I was wondering if there is some code to insert all of them.
Thank you in advance,
- The topic ‘How to insert all images in one post in template’ is closed to new replies.