Hey! Well if you attempt to help me on this, thank you in advance. After spending literally 20 hours on this yesterday I have come to the end of my limited knowledge…I need help.
Goal: To create individual custom posts that each have a slideshow with thumbnails that pull the images from custom fields inside the custom post. For better understanding view the test site http://focalpoint.themedemo.net/portfolio/painted-hills-at-sunset#
Here is my problem. I am using a custom post type (Portfolio) and have created 10 custom fields for image inputs. I need to create a loop that starts at the field custom field and displays the ‘billboard’ image and its corresponding thumbnail. (By the way I have created the different image sizes in the functions file. ‘billboard’ and ‘thumb’) Since all 10 images are on the same custom post, I am unfamiliar with how to access each one, since I believe the_post_thumbnail() only applies to 1 image. I have attempted this through many different loops, assuming that a foreach would be my best solution, but to no avail. I will post my code in hopes that someone will be able to offer a solution.
Remember we are dealing with a custom post type/ 10 custom field images/ and thumbnails linking to larger billboard images. Whew this has driven me crazy!
- The topic ‘Slider using Custom Post Types with Custom field images’ is closed to new replies.