Hi! I saw what seemed to be a very similar issue to mine, posted quite recently:
https://piklist.com/support/topic/changing-admin-menu-for-custom-admin-pages/
I’m having the same issue though I am following the documentation to the letter. No extra commas or anything… 8^)
Here’s the code in my functions.php file:
/* Add a page in the Dashboard where we can add custom code for a web ad */
add_filter('piklist_admin_pages', 'my_admin_pages');
function my_admin_pages($pages) {
$pages[] = array(
'page_title' => 'Banner ad'
,'menu_title' => 'Manage'
,'menu_slug' => 'manage_ad_html'
,'capability' => 'manage_options'
);
return $pages;
}
…but no “Banner ad” menu appears in my Dashboard.
Can you advise? Thanks!