New image sizes need new rules in the stylesheet, so the best place for them is usually in the child theme. On the other hand: attachments are content, so the answer to your question depends on the specific use case. If you need these images in back-end only, or in a part of the front-end that is not affected by the default stylesheet (a slider, a light box), they can be placed in a plugin.
Custom post type registration belongs to plugins. See Where to put my code: plugin or functions.php?. The template for this is usually a theme job.
Related Posts:
- Hide Meta Boxes for Non-Admins
- Issue to get wp_get_attachment_image with cmb2
- How to add multiple images to a custom post type without plugin [closed]
- Create a simple Testimonial page
- Methods for development wordpress themes [closed]
- Can I assign a theme to a custom post type?
- DIVI Theme customizer changes not applied on existing pages and designs are not shown on the front
- Looping through image object using ACF and CPT UI [SOLVED]
- Adding CPT changes entire layout of my site except for the archive of that CPT
- How to get ‘Products’ on home page?
- Tips for using WordPress as a CMS? [closed]
- Custom Post Type Templates from Plugin Folder?
- Is It Possible To Add Custom Post Type Menu As Another Custom Post Type Sub Menu
- add_image_size() for specific Post Types
- Creating an Image-Centric Custom Post Type?
- Create a custom archive page for a custom post type in a plugin
- How to disable generation of default image sizes for some custom post types?
- Media library – Limit images to custom post type
- how to get path to images in the uploads folder to be used in a plugin
- How to Add Custom Taxonomy To Woocommerce Plugin
- Why does my custom WP role need edit_posts to edit images?
- Development of a WordPress Search Plugin – Best Practices
- Prevent trash/delete action on specific post types
- How to add custom content template part for a custom post type on main query using a plugin
- How to completely disable a taxonomy archive on the frontend?
- Change capability type of post type registered by plugin
- List most recent image uploads, but only for specific custom post type
- set_post_thumbnail_size in percent, not pixels?
- How to add a CSS class to every image in a Custom Post Type
- Rewriting ‘rewrite’ slug for custom post type used by plugin
- echo value from ‘select’ field type into page template using cmb2?
- Custom post type Admin Page
- register_taxonomy with multiple object type and update_count_callback
- Why is get_post_format() for “Standard” returns empty
- How often do you need to register_post_type?
- Custom post types and child theme
- post_type_link filter causes 404 on the CPT page it’s used on
- How to use a dedicated template for the Custom Post Type from a plugin?
- Password-protect a custom rss feed
- Add Capabilities to Custom Post Type after it has been created [duplicate]
- Extract image src from a post and send it to an external form
- Removing Image Sizes for Custom Post Type
- White screen error for a custom theme
- How to override parent theme function through the child theme [closed]
- Include images from pages in wp search.php results in default wp search
- Separating Search Results By Post Type
- List events by month
- Date query for a custom meta field
- Image size filtering in Media uploader according to custom post type
- Maintaining WP_Query Relation Among CPT, Custom Taxonomy, Permalinks- CPT UI
- Count all images of a certain post type
- Change plugin’s has_archive = true to false?
- Single Page WordPress CSS and JS links
- Getting arguments for register_post_type from a plugin generated post type
- How to get source of custom meta image?
- Themes VS Plugins [duplicate]
- Stopping WordPress from Auto Generating Image Files for Sizes
- update a post meta from a single table cell TablePress
- update custom post type meta from a shortcode
- Remove POST_TYPE from custom post type permalink
- Query posts between two dates (custom meta keys) CMB2
- How to localize value of posts
- Uploaded image not appearing in custom post type
- Used with meta_query in query_posts works slowly
- Change upload_dir folder at a certain cpt but cant change back
- How to add post_author column to custom post type
- How to register custom post types in a plugin?
- Display custom taxonomy as dropdown list
- How to append element after thumbnail
- Best practice for adding posts in bulk
- Return Attachments from Custom Post Type
- How to get category image custom post type taxonomy in wordpress?
- How to use custom fields to enable sticky posts on custom post types?
- add_image_size for post type
- Set Custom Image Size Just For Specific Custom Post Type
- How to have the right design for a custom post type without accessing themes
- I am trying to output portfolio items with a picture. This code doesn’t seem to be working. What am I doing wrong?
- Images not load on custom post type sidebar, related posts
- Not Able to Add New Class To CPT Attachment Image
- Invalid content when I try to import custom post type from the old template wordpress
- Query when is one or several values
- custom post type single page not found after aotumatic publish By the author’s robot
- Accessing download link from the loop with WP Download Manager Pro
- Set a template on a custom post in the plugin
- Simple way to hide\show an announcement (just a div) on homepage?
- Custom Post Type works when registered in functions.php but not when registered in plugin
- How can I add image sizes for a specific custom post type?
- Reading Custom Post data so I can have user update Manually
- Why is this function so slow?
- Permalink URL connection between two custom types
- How to show link to product in custom fields?
- Taxonomy counter on Taxonomy List(plugin)
- Is it possible to arrange Custom Post Types from CPTUI into a Folder?
- Restrict Custom Post Type to One Item
- Custom Post Type Front Page Gives 404
- Multiple useres editing specified content
- Show Post columns to specific users on condition
- Change picture attachment meta of all occurrences of a picture
- Filter Custom Post Type Posts by Taxonomy
- Add input radio menu to post