• Resolved rjacob

    (@rjacob)


    I am working on a new plugin that will have an entry on the options admin page or possibly the manage admin page. I currently already have plugins installed that have entries under these admin pages (Google Sitemap on options, and Backup on manage). When I activate my plugin it will successfully add an entry to one of these menus depending whether I use the add_option_page or add_management_page call. When I hold the cursor over my plugin link it shows …/wp-admin/options-general.php?page=crawlpage.php, but when I click the link, it executes sitemap.php. If I deactivate the Google Sitemap plugin, then click my plugin link, it will succesfully run my plugin.
    These are the add_options_page calls:
    My plugin:
    add_options_page(‘Crawl Page Generator’, ‘Crawl Page’, 8, basename(__FILE__), ‘cp_options_page’);
    Sitemaps call:
    add_options_page(‘Sitemap Generator’, ‘Sitemap’, 8, basename(__FILE__), ‘sm_options_page’);

    Is there a limitation to having only a single plugin link on an admin page without having a conflict?

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Adding more than one plugin to admin page?’ is closed to new replies.