Plugin Submenu creates 404 Error – cannot find file
-
I have created a main_menu item in my functions.php for a specific theme.
I then created a submenu for a plugin I created specifically for that theme. It displays as a submenu item but when I try to access it it throws out:
The requested URL /mywebsite/wp-admin/notice_board was not found on this server.
But when I run the same submenu page function in functions.php it works fine.
I short: It seems as long as the submenu’s area created with the main menu item in the functions.php file then it works.
Any ideas why?
- The topic ‘Plugin Submenu creates 404 Error – cannot find file’ is closed to new replies.