A CPT has a parameter called show_in_menu
to add it to a specific menu.
You must set you CPT to 'public' => true
Then in your deals $args
(it’s unclear which one you wanted added ) add something like,
'show_in_menu' => 'edit.php?post_type=screenshots'
You can then adjust it accordingly.
Related Posts:
- Setting up a page to house certain types of posts
- How to mass get post editor URLs
- Get_post_custom not fetching value from array wordpress
- Add a form in every post and save data in post meta
- list articles in admin showing nested categories or slugs?
- Display Parent-Child Posts in specific order by comparing IDs in array
- How to create additional rendering for custom post types?
- open custom post type in popup window instead of page
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- SELECT custom post type and its meta in SQL
- How to set post date in post_type so that it’s same as latest post in category
- Enforcing a rigid reusable template structure for similar posts?
- Search CPT by tag ids
- Restrict admin pages for specific user role
- Post template with breadcrumb needs to show page navigated from
- Auto delete pages/posts without views
- Post category behave like a Post in back office menu
- Save data is post using php front end
- Cannot include custom post item within a menu
- What is the best way to structure posts for the same event happening in different years?
- How to display custom field in product description?
- Right way to store a large set of similar information on website? [duplicate]
- How to display posts with plugin (advanced custom fields) field groups?
- Define multiple prefixes for custom post type
- WordPress – display relationship between blog posts and custom posts
- Create a post automatically if search result has zero results
- Post template not applying on theme (potentially rendering as Page template)
- How can i redirect click to new admin page not to edit screen in post table
- Publishing failed. The response is not a valid JSON response
- add all blog posts to folder
- How do I find the count of the current post?
- Is there a way to display a custom post type menu item as “users” submenu?
- Limiting the Number of User Posts to Their Own Posts
- Custom page with no headers, footers and its own CSS, Javascript
- Correct way adding External classes to Custom Post type and output their methods to template
- Permalink for specific post type
- remove duplicate name submenu link from the custom post type
- how to display posts content on the custom css popup by clicking on each title on the sidebar?
- Show custom post status when logged out
- Show posts from WP Custom Post Type selected from a field in a metabox
- wp_post_delete is deleting all offices
- SEARCH QUERIES – REVERSE OUTPUT
- WordPress retrieving $post based on random key in $_POST
- order custom post type posts by custom date
- Is there a way to create a sidebar of bullets
- How do I insert a custom post type query after a certain number of recent posts and then resume recent posts?
- How to show posts of the same category on a page?
- Why doesn’t wp_delete_post allow trashing for custom types?
- Get queried object for custom post type count
- edit.php all post not working
- Assign a Post to a User
- Cannot save pages after migration
- Adding specific custom fields (images) to post excerpt
- Bulk trashing post ‘fails’
- $_POST from a Meta Box
- How to create editable sections in wordpress?
- Instructor can view, edit, delete only theirs courses
- Add input radio menu to post
- How to properly get the wp_postmeta.meta_value of a custom post type in specifics?
- News post with multiple permalinks? When opened from different page
- custom post type to post association in wordpress
- minimize wp_query call to database
- How to add custom PHP code in post header?
- I cannot display custom posts in custom taxonomy
- Post display in separate page [duplicate]
- Rest Api not working with Iframe in form data
- Subset of Custom Post Type From Admin Menu Based on Meta Data
- How can I group by Taxonomy on Custom Post Type while filtering out based on custom Meta
- subtracting the current post form then whole loop, which is generating all CPT titles
- User Archive page for Custom Post Type – Pagination Issue
- Need to display author’s email id in the “Edit post” field in wp dashboard. How do I do this?
- How to manage a dynamic multi-level page hierearchy system?
- Assign for all post of a post type a specific single-post template
- post type => ‘any’ not applied my custom queries
- Custom Post By Category
- Widget area for individual posts (custom post type)?
- How can I get the last 5 element of this tax query?
- Using Orderby and meta_value to order natural/alphanumerical
- Limit posts per page depending on the size of a div?
- Display title of all custom posts from same taxonomy term on a custom post template
- Use WP pagination functions on a custom page template
- Delete Post by User
- Custom post Query and WordPress Post Query Clash
- How to get the posts that my following users are liked?
- How to insert post 6 times after user register like ask.fm
- custum post inner page not taking single-gallery.php? it redirecting to archive page
- Change Custom Post Type to Post + Category
- How to override post-new.php with custom template
- Event Manager: Events Deleted are still in DB as published but hidden in admin
- How can i order my posts by post type?
- Rewrite url post_tag for custom post type
- When post is Published, insert into custom table a number – custom post type
- How to get all posts related to a taxonomy?
- call a function when insert and update a custom post type
- Multiple Custom Post Type with different Taxonomies
- Creating custom post type relationships
- WP_posts (Not meta) extra custom field column show and change it in a custom post type
- how to make custom post with “publish” default functionality not save in draft?
- update a posts of other custom post type
- Links Image in “Catalog” Page to Posts