• Resolved rbb10

    (@rbb10)


    hi all, how i can add a gallery to Custom Post Type, example i wanna create “Cars” custom post type and i wanna have a gallery,

    thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Out of box with WordPress, there’s no functionality specific to galleries in the context of post types. There is the gallery shortcode but that’s just available functionality overall, even without custom post types. https://codex.www.ads-software.com/Gallery_Shortcode

    So it really depends on how you want to do things. You could install one of many gallery-producing plugins available, both from www.ads-software.com or some premium shop somewhere else.

    You could also potentially treat each post in a post type as an item in an intended gallery, and perhaps use some external tool or perhaps a javascript/jquery library that can create a gallery from items on a displayed page. For example a grid of photo thumbnails that when you click on one, it opens up in a modal popup, and has navigation between them.

    None of this is available within CPTUI itself though, so there’s at least a little bit of work to be done regardless, and CPTUI isn’t the only component needed.

    Thread Starter rbb10

    (@rbb10)

    thanks for your reply, can u suggesst some tools/plugin that i can use integrate with CPTUI for create this ?

    thanks

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    For which path are you thinking? Treating the posts in the post type like a gallery item?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Add Gallery to CPT’ is closed to new replies.