Support

Account

Home Forums ACF PRO Show all image galleries in home page

Helping

Show all image galleries in home page

  • Hi,

    I am creating a photography portfolio website. I have created a custom post type called Galleries and inside that, there are posts named Portrait, Wildlife, Landscape.
    Inside every post, there is an ACF field called gallery with photos of the above categories.
    I want to create a home page called overview and show all the photos from galleries inside the custom posts.
    Does anyone have any idea on how to achieve this?

  • Just like showing any posts.

    You do a WP_Query to get the list of posts. You loop over those posts. You get the fields for each post and display them.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.