You can filter the posts list by appending ?category_name=xx
to the admin posts list URL, and you can add a submenu page with that URL as the target via add_submenu_page
:
add_action( 'admin_menu', 'wpd_admin_menu_item' );
function wpd_admin_menu_item(){
add_submenu_page(
'edit.php',
'Page title',
'Menu item title',
'edit_posts',
'edit.php?category_name=somecat'
);
}
Related Posts:
- How to show all posts of the category in wordpress?
- Get category id from post id of a custom post type
- Hide/Show only specific categories in wp-admin new-post.php
- Remove date and category filters when editing custom post types
- How to show related posts by category or custom post type?
- Structuring a product catalogue in WordPress [closed]
- Restrict categories to a custom post type
- Display types of posts in edit.php instead of All, Published, Scheduled and Draft
- How to make post sticky in the admin page?
- Custom Taxonomy – Tags Metabox is showing instead of Categories
- How to get the post type from a category id?
- Remove rows in the manage post/page view
- Getting posts under the custom post type ui category
- Show custom post type filtered by category
- Showing posts from different categories and from custom post type
- How to add a custom-post-type post within another custom-post-type post edit screen using AJAX?
- Add custom post type settings to wordress default posts
- Problem with displaying posts in the CPT category
- Set a checkmark in a category based on a URL-parameter
- Get the category from custom post type
- Custom Post Slug same as Parents Category Slug
- How can I show 1 featured post in a styled element, and the next few below differently styled
- WP the_posts() on single-cars.php get category link
- Create new custom post and post category of same name
- Custom post types and ‘new WP_Query’
- How to Display Posts From Category Within a Custom Taxonomy?
- Showing custom post type categories in the menu
- Stores category posts in an array
- Restrict category access to specific users/groups. Author always has access
- Post Query not working
- How do I edit the WordPress post.php file?
- Use post in multiple places on a page with multiple posts
- Am I mixing up the concept of posts pages and categories?
- Admin slow on Postlist (over 30k Posts in Database)
- Display all Categories except ones with a specific parent
- What is the best way to set the post category (Custom Post Type) automatically based on the one of the tags assigned to the post?
- list articles in admin showing nested categories or slugs?
- How we can create menu from Appearance > Menu and use as a add-submenu-page for admin menu?
- Post category behave like a Post in back office menu
- Save data is post using php front end
- Publishing failed. The response is not a valid JSON response
- Limiting the Number of User Posts to Their Own Posts
- How to show posts of the same category on a page?
- How to manage a dynamic multi-level page hierearchy system?
- Custom Post By Category
- Change Custom Post Type to Post + Category
- Only show current category post
- Post Editor: display categories from current post type taxonomy only?
- Custom Post Type used for FAQs Accordion
- Display all post types together
- show only one category posts in admin
- Can WordPress show posts based on a button that the user clicked 2 pages back?
- Get Post Primary Category
- Weird problem happening with custom taxonmy when creating/updating posts
- Exclude child pages from archive.php
- Add category in post type dynamically
- is there a way to retrieve posts that do not have a featured image assigned?
- Auto-generated posts not showing in backend (but being counted!)
- Filter categories of posts with checkboxes
- Shortcode for display posts on home page show only one post
- Deleting Custom Post type data using mySQL command
- Admin notice not displaying
- Pagination is not working on single-{slug}.php but works fine on page-{slug}.php
- Find the user who initially created the post
- Use post as category
- Custom Post Type + 20k posts = blank/404 within Admin edit.php [duplicate]
- Need help targeting a custom post type with conditional tags
- How to add custom post types to normal category pages
- Pagination on category page with custom post types
- Insert HTML inside link in a walker
- Custom Post Types and independent Categories – complex Taxonomy
- Call custom post type by category
- Add category attribute to custom shortcode
- Notice: Undefined index: suppress_filters
- How to Separate CPT From Regular Posts?
- Use regular category with custom post types
- How do increase the amount of links shown down the left in the admin menu?
- submenu item edit a specific post
- Should I use custom menu, C.P.T. or theme options, or something else for this?
- Is there a way to have the view link on manage posts page to open in a new window or tab?
- Should I use custom taxonomy or custom post type
- How to detect filter in URL in Category page?
- Set menu active state for custom posttype and category, given custom taxonomy term
- How to show CPTs in term archive
- How to create custom boxes with text inside?
- How to change post featured image using a custom field of category?
- How to add post_type=value when editing that post type in the WordPress admin?
- Adding dropdown select meta box to custom post type – seems restAPI is interfering
- Admin not showing all custom post type posts and views not working
- How to avoid manage posts screen duplicates when two plugins use the same library
- CPT Archive with core Category
- Open Custom Post Type as PDF
- Using The REST API How To Pull All Custom Posts?
- Group posts by custom post type
- How i can add ‘N’ page of ‘N’ pages under posts loop?
- Unable to retrieve any posts of CPT in wp-admin
- Display all posts in main category and 1 subcategory
- Replace li Items with divs with classes
- showing custom post types of a certain category only
- Display post meta on edit page in admin