Daily Archives: July 15, 2014

Home > Blog > Daily Archives: July 15, 2014

How to add Custom Post Type menu to Admin Sub-menu WordPress

July 15, 2014 by in category Programming, Wordpress

After a lot of googling, I couldn’t find a solution to my problem. I finally figured it out and have decided to document it below. <?php define(“ICON_URL”, ‘/path/to/icons’); // First we sort out some submenu pages under our custom // menu page function my_add_submenu_pages() { add_submenu_page( ‘my-plugin’, __( ‘All Players’, ‘Players’ ), __( ‘All Players’, ‘Players’ […]

0 1 Read more
© Evan Smith 2009 - 2017