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?
- Row actions for custom post types?
- Restrict custom post type to only site administrator role
- How to force one column layout on custom post type edit page?
- Add content in custom post type page after the title and before columns
- Filtering Posts by Multiple Taxonomy Terms such as in an Admin Post Listing?
- category__in not working on custom post type
- Assigning a role to a specific custom post type (and ignoring other post types)
- How can I add single catogory for custom post type?
- Display posts in random post types
- Categories and Tags not working!
- Remove “Get Shortlink” button in admin of custom post type
- category.php displays ALL posts instead of just those with the current category
- Custom Theme Want To Remove One Category From All Displays
- Possible for Category Base and Custom post Type to share the same slug/permalink?
- Weird problem happening with custom taxonmy when creating/updating posts
- 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
- get_posts() with custom post type does not work outside page.php
- Allow non-logged in users to see a future post after clicking on a list of future posts
- Multiple level category drop-down from the WordPress dashboard
- Update Post Meta for a logged in user
- How to get categories linked in posts for a specific post type
- How to edit this code to get the categories in achieve page?
- Is it possible to store Custom Post Type data in separate set of tables and still have wp_post class functionality?
- How to create a gallery page with categories?
- Cross reference custom post types
- Make a custom_post translatable
- Is it a good idea to add a column to the posts table?
- Creating separate feeds for custom post types
- Want a custom query with just one category but from all custom post types
- Custom Post Type – Portfolio no longer works
- Easy reading or transfer of data from posts?
- The loop does not show users
- Front-end Image Upload to Custom Meta Box
- How to display author details in a custom post type in the wordpress backend?
- Invalid content when I try to import custom post type from the old template wordpress
- How to set post date in post_type so that it’s same as latest post in category
- Right way to store a large set of similar information on website? [duplicate]
- Create a post automatically if search result has zero results
- How to overwrite function to display parent page combobox for custom post type in Edit Post Page?
- Bulk trashing post ‘fails’
- Do not load the categories in Category.php
- Why isn’t my custom post type using the corresponding custom post template?
- Linking custom taxonomies and posts
- Search page for custom post type
- categories of custom post type shows in CMS but not in the frontend webpage
- How to separate posts by categories?