For the editor I would just like to display Pages, Posts, Media and Menus. Is there a way of doing this with the functions file or similar?
Thanks in advance.
If you just want to remove the menu options, you can use the remove_menu_page function in your functions.php file
Add this code to functions.php:
That should remove everything except the options you want to keep.
If you want to remove the menu options for editors only, use an if statement within the function:
Are you trying to manage the contents of the admin menu? If so, perhaps this plugin would help: Admin Menu Editor