Images (and other media) in WordPress are stores as attachments — which are a special native post type (more or less).
There are two common ways to display attachments in a post context:
- Include them in post content (individually or via gallery shortcode)
- Select one as featured image (aka post thumbnail) and have theme with support of the feature display it separately from content
So unfortunately natively there isn’t a way to select multiple images with intent of displaying them separately from content.
However it is a common feature in custom fields frameworks. They often offer nifty interface options for it and store attachments IDs in post’s meta data, from where it can be retrieved and used.
Personally I favor Meta Box, but there are literally dozens of alternatives floating around.
Related Posts:
- How to create a page template that retrieves content from db?
- How To Create A Paginated List Of All Categories On My Site?
- Password protected posts redirects
- Overriding page template using page_template filter
- Loading page content into a variable in template
- Capturing arbitrary semantic URL arguments
- How do I display the text inside the WP editor for a page with a custom template?
- Dynamically assign same page template to child page as parent
- What content should go in index.php?
- How to show a post single post in page template
- How to pass a numeric id to a page template?
- How can I dynamically load another page template to provide an alternate layout of the posts?
- get url page template
- Posts archive index pagination in a static page custom query
- How to Set a Custom Template for Blog Posts
- is_page_template & is_page in functions.php not working
- How can I have a static title on my blog page?
- Use is_category(), is_tag(), … in functions.php
- Why am I getting syntax error, unexpected ‘endwhile’ (T_ENDWHILE) in this template? [closed]
- How do I add a body class to specific pages?
- How to list all titles of posts on a specific page?
- How to handle a missing page.php?
- Customize edit.php Pages listing in dashboard to show only pages with a particular template applied?
- Programatically switch page template?
- remove page template from dropdown?
- Export csv and force download in template page
- WPML in custom page templates
- Why (and how?) is get_header() erasing all my stuff?
- get_pages — parent vs child_of?
- How to pass outside function to WP_REST_Request
- page.php not displaying content
- WP-CLI not setting page template with page_template=”template-name.php”
- How to load all pages into one page with their templates
- Create a page template with No Footer
- Register/Get sidebar?
- How to make text show up – new page template
- using the loop with a custom table
- Javascript Solution Remove Specific Tag but leave the rest in a specific DIV
- Verify if the current page has at least one published child
- Content pulled from page template instead of editor
- how to remove all body classes in wordpress
- Custom Post Type Archive template page not found
- Add #sidebar-2 to a custom page template
- WordPress 3.3.1 Page template not showing in admin area
- What is wrong with my page.php?
- wp_redirect goes to infinity loop
- Single page Template for pages that begin with ‘confirmation-‘
- Want to exclude slider from page.php in header
- changing background color depending on parent page
- Can i forget about the post loop inside the page template?
- get_avatar() as backround image
- get_the_excerpt() inside WP_Query – link URL Incorrect
- How to make Dynamic Page Template based on Post ID’s
- Template Tag Does Not Work in Page Template
- Contact template doesnt appear in page template options
- Does get_template_part() content gets parsed if it’s not executed?
- Get_template_part seems to be ignoring my template
- Change page template programmatically inside foreach
- Proper way to create custom static page
- How can I correctly redirect user to the submitted post and define a template for each new post in WordPress?
- How to display all child/sub pages from all parent pages?
- How to separate two columns from one content on a page template?
- WordPress page template to show posts as per category dynamically
- page.php template file render a core gutenberg component programmatically
- Subpage is redirecting to spam site
- How to integrate custom HTML template in a premium wordpress theme?
- How to load page template according to the Searched Page
- Set page template automatically according to parent slug
- How to display the contents of URL1 when user visits URL2
- How to require specific PHP files for specific templates
- Static page won’t identify template
- send page ID’s to another template
- Restrict Access to Logged-In Users Page Template
- Target pages using Woo Commerce single product page template
- What is the best way to manage pages content?
- Add additional templates to the templates drop down on add page menu [duplicate]
- Show all images attached to posts as a gallery page?
- Custom templates stopped working
- .htaccess help to a beginner
- Single page theme: Can I render other pages with their respective themes within another page?
- Loading custom page template on a one page website
- Special 404 header page
- change the Theme dynamically
- How can I set full width page layout in a default post page?
- Why do some pages on my site use the previous theme?
- E-Commerce Products Page Sidebar Formatting
- Lead Generation with Cookies in WordPress
- Recents posts pulling from different post type
- trying to add custom landing page to Twenty Eleven- can’t get rid of Twenty Eleven header/container? [duplicate]
- Template tag for /page/# structure
- Fetching Image from other post/page with custom type
- wordpress header leaks into body in a specific template
- Display child page on parent
- Utilizing the template hierarchy while storing page templates in a subdirectory
- Show page name in browser
- How do I create a page template that doesn’t show URL, sidebar, nav menu, footer?
- Animation as shown in the link
- Custom page template not working on mobile
- How do I update the SEO information on dynamic pages being generated from template_include?
- Can wordpress search inside a custom page template?