A simple solution would be to use the featured image (post thumbnail) as image for the portfolio listing and for the item itself you can use the native gallery with its shortcode: .
Also if you’d like to use some kind of lightbox with it you can look/use the plugin
jQuery Lightbox For Native Galleries
Related Posts:
- Custom post type: Add “Edit | Quick Edit | Trash | View” links to date (if title is not shown in column)?
- Custom post type yearly/ monthly archive permalinks
- Taxonomy, Terms, and Template Files
- Display custom post type with shortcode
- Restrict custom post type view by user role
- How do I filter the excerpt metabox description in admin?
- Adding meta values to permalink
- Changing the priority of a custom taxonomy’s metabox
- Adding post tags to custom post types
- How to show more posts on an archive page?
- How to create a mini directory in WordPress?
- Pagination not working with custom category template
- Anyway to assign custom post types to a specific category?
- List with categories, subcategories and posts of custom posttype
- Multiple post types in archives (filter?)
- How to get source of custom meta image?
- Get count of custom post type created by current user
- Remove the Publish metabox for custom post type [duplicate]
- How can I show recent posts from same taxonomy as the post currently being viewed?
- How could I create a ‘private comments’ section on a custom post type?
- Post the content of a specific “Custom Post Type” post within a post using a shortcode
- count_many_users_posts except current logged in user?
- How to search map address in custom post type?
- Ignore sticky posts if post is not in meta query
- Show custom post type randomly in any page
- Custom Search for Drafts in Custom Post Type
- How to create custom post listing in the admin?
- only a certain role has access to a cpt
- Templates and meta
- What’s the difference between same wp functions get_posts(); functions in different form?
- Wrong request query on cpt and tax
- Display all post titles of current post type
- Custom post type multiple loop by taxonomy term
- Permalink for a custom post type isn’t working and I don’t know why
- Cannot add category or custom taxonomy from admin. WordPress site is hosted in Windows 16 server via IIS. No XAMPP or WAMP
- How do I set default meta value by post type?
- How to Filter custom post type by taxonomy?
- Custom post type, organized by categories
- Side effects of Script and Iframe in post
- WP Meta query for a custom post type based on two values
- Wrap custom post type – ONLY- in a div
- How to import files to individual posts of a custom type
- Listing custom terms in custom post meta
- Some posts from custom post type to subdomains
- WordPress subpages to custom post types
- What content types are shown at a search page?
- Display posts with tag for custom post type only
- How can i automatically add CPT single pages as sub menu items
- Assigning a category to a custom post type in WordPress
- sortable columns for multiple custom post types not working
- Metabox multiple custom post select -> display selected items?
- Shortcode to return single custom post based on post taxonomy
- Custom post type categories gives 404 error
- Accessing a protected property of a post
- Custom post type title of each author in his own post
- Compare Two Custom Post Types Using The Same Custom Taxonomy
- Require custom post type if is_admin() – template doesn’t show up?
- custom post type or taxonomy, which approach is better?
- Custom post type, permalink, add query variables problem
- How can I allow users to edit text that will be displayed on a custom post type archive page?
- Post type to calendar
- WordPress is ignoring my post rewrite rule
- Update value inside array update_post_meta
- Search custom type post
- WP query_posts group by meta field related
- Apply category query clause to posts of custom type
- Duplicate content problems after adding an archive page to the article’s post type
- Basic CPT Question About Categories
- How to upload an image to a custom post type
- custom post type and a “sticky” position taxonomy
- CPT relations use in permalinks under single post type
- Attach a post type to other one
- Creating a custom WP query for a Custom Post Type
- bad practice for Custom Post Type
- Get queried object for custom post type count
- Post Attribute Section missing for Custom post type
- Redirect Custom Post Type from Child Taxonomies
- How to order multiple custom post types with same taxonomy by date
- put a list of one post type in other post type to select from it and display selected item in second post type’s single page
- Ajax load more inside custom post type taxonomy
- Confused about where to store my data
- Meta_query by date for Events archive
- Insert a hash into the url of custom posts to make them function as anchors
- Create a custom wp_query from a specific custom post type with specific taxonomy
- Custom Post Type duplicating slug for new posts
- Show posts for current taxonomy
- WordPress get all post with like in terms [duplicate]
- Cannot retrieve Custom Taxonomies (Disappeared)
- Custom Post type and Taxonomy in post URL error
- wordpress form processing to custom post type not working
- Loop multiple taxonomy in custom post
- $post breaking container loop
- Stop Custom post type from being searched via URL
- Multiple Custom Post Type permalink issue
- Post Meta rows from other types being added to DB regardless of post type
- How to Create Custom Post Type with Multiple Color Options?
- why get_post_meta is returning 0?
- Display Custom Post Type on Toolset Types Plugin
- How to create an upload page (front side)
- Get all active posts that are tied to a custom taxonomy for a custom post type