modification to image template (page)
-
I am using TwentySeventeen theme and the standard gallery view. My small changes to the theme is added in a child-theme.
I have created some pages (not posts) with a photo gallery like this one: https://vang.nu/det-gamle-fiskerleje/postkort-fra-vang/
When you click on an image the single image is presented and it is possible to read a small text and to write a comment.
However, I would also like to add a link to next/previous image using:Function Reference/next image link.
Where do I place the function?
Do I need to make some additional coding more than this?:<div class="alignleft"><?php previous_image_link( 'thumbnail' ); ?></div> <div class="alignright"><?php next_image_link( 'thumbnail' ); ?></div>
Is it necessary to make a new template or template parts? and how?
Mikael Boldt
The page I need help with: [log in to see the link]
- The topic ‘modification to image template (page)’ is closed to new replies.