Technology Insights

Create A New WordPress Admin Page And Add It To The WP Admin Menu

After a recent issue I ran across I decided I needed a way I could view a list of WordPress posts with the most comments so I searched for a simple plugin that would do that. I couldn’t find anything that did specifically what I wanted to though I did find a WordPress plugin called Most Commented that would display a front-end widget with a list of posts with the most comments. After installing it I needed to modify the plugin to display a page in the WordPress admin section located at /wp-admin. Below I will describe how to create a plugin that generates a WordPress admin page and adds a link to the WordPress admin navigation.