add_options_page() automatically adds it underneath settings, however add_submenu_page() gives you control as to where you want it to show up.
Try something like this:
add_submenu_page(
'edit.php?post_type=portfolios',
__( 'Test Settings', 'menu-test' ),
__( 'Test Settings', 'menu-test' ),
'manage_options',
'testsettings',
'mt_settings_page'
);
Related Posts:
- How to give position to Submenu under custom post type
- Add Settings to Custom Post Type
- Insert & order custom post types in/as submenu
- How to add a custom taxonomy to show up in a custom post type menu?
- Show category and tag link as a submenu under custom post type submenu
- Create an administation subpage containing posts in a certain category
- Post to type posts in subdirectory. [closed]
- Custom post type submenu sorted by specific meta_key & meta_value
- Adding a menu item for a Custom Post Archive
- Make custom column sortable
- Why are posts from custom post type not displayed in “category” archive?
- Slug Formatting : Acceptable Characters?
- Duplicating custom post type and its posts
- How to handle a hierarchy with custom post types
- Creating custom user roles
- Custom Comment Types
- Not Able to Insert Taxonomy Term Using wp_insert_post()
- WordPress “Loop” with large set of results
- Allow User to Edit Page Based on their Email
- Use Custom Post Type as Custom Field
- WP_Query on custom post type not displaying, multiple loops & get_template_part
- Custom Search | Wrong output & question
- Regex problem in an add_rewrite_rule
- Interesting Custom Post Type Slug with Taxonomy and Custom Field
- Custom edit post column – category not showing
- Custom Post Type post ordering not working
- Add specifications table for products page
- Sort Posts Best Practice
- Custom Taxonomy Not Showing Up on Post Page
- Pagination links not showing on custom post type admin list
- Custom permalink – append taxonomy name and term name at the end of permalink
- Admin Column Text Positioning
- Custom Role for CPT Only
- Assign Taxonomy Based on Custom Field Value
- How to fetch custom post by Author?
- Custom Taxonomy Creates Unwanted Integer Terms on Post Save
- Pull in custom content types into page template
- Get custom posts with certain ids in a custom loop using a shortcode
- Assigning the same custom meta box to multiple post types
- Blog page showing same content as homepage
- Custom Post Status Transition Issues With Get Post Meta
- Podcast Guest List
- Custom Post Type Draft Preview Goes to 404
- Deleting Custom Taxonomy Term only increments tag_ID
- Custom post type not displaying all entries
- Listing tags from a custom post type
- How to show first name and last name in custom post type columns
- Disable user from updating certain posts
- Custom post type / taxonomy rewrite archive page 2 gives 404
- categories should be available across all custom post types
- Automatically create child custom post when creating a custom post
- How can I have different content for different countries?
- Show Posts to Author Only
- WP_Query parameter conflict
- Create a comments template for custom post types
- Is it possible to add posts and images (auto resize) for custom post types with a script?
- Retrieving meta-box from a custom-post-type
- providing access to post_id or post inside functions.php
- CPT with its own category and tag url
- Overriding Plugin Function in Child Theme
- Display custom posts for each category from its custom taxonomy
- Function to limit number of custom post types on homepage – TwentyTen
- Get custom category ID of current custom post within the loop
- Archive Template being used instead of Category Template for Custom Post Type
- Custom Post Type not working with Capabilities
- Custom Post Type Template Insert not working properply
- Custom Post Type Pagination on Single.php?
- Add custom post type to query
- How does one go about converting custom post type to post format?
- Using `set_transient()` when saving a custom post type
- Disable single page for a custom post type based on a custom field
- Add html tot CPT edit screen – no metabox
- Show all post type posts in manage users posts column
- Setting Custom Post Type Parents/Hierarchies
- Query to Exclude Child Pages from Custom Post Type Archive
- How to submit the date with ajax?
- Modify category permalink to use post type slug
- Getting a Post ID to show its content in a Popup
- search results to show individual ACF fields from inside custom posts
- How to make password protected posts that will expire after they are used?
- How to get post type archive category title
- Automatically / dynamically populating tags in custom post type
- Remove CPT Slug with 2 taxonomies and 1 post meta
- How can i order my posts by post type?
- Different post types arranged on one page
- Why is a custom post type’s URL “/?cposts=name-of-the-post” but default post’s URL is “/?p=ID”?
- Roots: Custom Post Type 404 Not Found [duplicate]
- WP_Query get posts where post_name is empty
- Display all post types together
- Custom Post Type Tags Showing Under Regular Post Tags
- Nested loop called with shortcode duplicating the content above the main loop
- Pagination for event query
- How to Create a Frontend Html-list Editable in the Backend?
- Remove custom meta boxes from custom post type
- How can I show second most recent post in sidebar, if most recent post is open in the browser?
- Get term link of shared taxonomy between multiple post types
- Editor or custom field for Latex source code page
- Custom Field in Page Title
- How to set up a private custom post type that is accessible in the administrative dashboard?
- WordPress User Role Permissions For Custom Post Type