Hello.
I already read this article to customize the gallery template:
But I want to have the full like and comment functionality from media-single.php for the media-gallery-item.php, because I display larger images in the gallery and maybe don’t even need the lightbox popup then.
How can I do that? If I just copy code from the media-single.php, it won’t work for items that are loaded with “load more”.
So how to customize the code for the functions.php?
Thanks a lot.