Creating Gallery Page Template From Custom Post Type Images
-
I have created a custom post type called ‘grspf_photo_gallery’ and it’s label is ‘grspf photos’
What I’m trying to do is create a gallery page template that will display all of the image attachments from that particular custom post type in 4 rows of 150×150 thumbnails. The theme already supports thumbnails and image lightbox.
So far I have accomplished the following:
1. Created a custom post type for uploading the photos that we want displayed in the gallery.
2. Created a Gallery Page template (and this is where we are stuck).
We cannot seem to get the images that are uploaded through the custom post type to be displayed within the gallery page template.
I would post the url, but the site is in maintenance mode until this is complete.
Any code snippets would be extremely helpful. Thanks in advance
- The topic ‘Creating Gallery Page Template From Custom Post Type Images’ is closed to new replies.