I don’t have permission to save the theme options I created myself?

You’re adding the menu page using the “administrator” role. Is the account you’re using an administrator? Note: 1) You should be using an appropriate capability, rather than a user role. Generally, the appropriate capability for editing Theme options is edit_theme_options. 2) There is a known bug with WordPress, in that currently, manage_options is required for … Read more

Not able to give editors acess to new admin menu item

Must be a problem with the surrounding code, your add_menu_page code works fine inside my test code, i can see the item as an admin or editor. add_action( ‘admin_menu’ , ‘admin_menu_new_items’ ); function admin_menu_new_items() { add_menu_page(‘Calendar’, ‘Calendar’, ‘edit_posts’, ‘wp-eventcal/eventcal-manager.php’); } Works just fine for me.. Are you using any plugins for managing the admin menu, … Read more

How to add post of custom type to a category with custom type capabilities

I have found the cause of this problem. The reason is due to the capabilities argument in the category taxonomy. i.e. array( ‘manage_terms’ => ‘manage_categories’, ‘edit_terms’ => ‘manage_categories’, ‘delete_terms’ => ‘manage_categories’, ‘assign_terms’ => ‘edit_posts’, ); So one work around (though not a very good one – and certainly not for use in plugins!) is to … Read more