Solved

Wordpress admin menu - different sections for each post category

Posted on 2010-08-12
1
267 Views
Last Modified: 2012-05-10
I’d like to add category posts to the wordpress admin menu.  For example, if one post category is Products and one is Events, there would be in the admin menu “Products” and “Events” menus.  Sub-menu items would include the following:

= Posts- listing out all posts belonging to the specified category (edit.php)
= Add New- ability to add a new post belonging to the specified category (post-new.php)
0
Comment
Question by:kayjay-one
1 Comment
 

Accepted Solution

by:
kayjay-one earned 0 total points
ID: 33447149
In case it can help others.  

To list posts by category in the sub-menu under the Posts heading, using the category Services for example...
add_action('admin_menu', 'services_menu');
function services_menu() {
add_submenu_page('edit.php', 'Services', 'Services', 'manage_options', 'edit.php?category_name=services' ); }

Open in new window

0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

WordPress has made it easy to create scalable sites based on their powerful CMS, but as great as WordPress is, there are some SEO issues that haven’t been addressed out of the box.  Fortunately these problems can be solved with a few plugins.  The f…
WordPress can be pretty daunting, especially for a beginner, so I thought it might be a good idea to write an article to show how easy it is to get started in WordPress and to design a custom theme.  The first step is to check with your hosting comp…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
This video teaches users how to migrate an existing Wordpress website to a new domain.

786 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question