Support » Plugin: Table of content » Love this useful plugin – but I made one change

  • This is a really great plugin and creates a useful, easily navigable Table of Contents for use on any site. However, I prefer not to have plugins creating top level menus in WordPress. I changed line 515 in the “core.php” file from:
    add_object_page('SL Plugins', 'SL Plugins', 'activate_plugins', $topLevel, array($this,'sedlex_information'));


    add_options_page('SL Plugins', 'SL Plugins', 'activate_plugins', 'sl-plugins', array($this,'sedlex_information'));

    This small change adds the plugin’s menu structure under the Settings tab, where it belongs.
    Thanks again for your hard work on this great plugin. Would you consider making this change to the core?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Sed Lex


    Thank you …

    Actually, I understand your point.
    Nevertheless I have also other plugins that give a result to the admin in that page (for instance, plagiary-search provide the number of plagiary found or formatting-corrected that provides the number of formatting issue in posts…
    It not only settings but they are also tools: it does not consistent to put them in settings …
    In addition, I consider that splitting a plugin in a plurality of page (ie settings, results, cron) is confusing and I try to render a plugin accessible throught a single page

    I could try to figure a way to make it customizable but could take some time as I am not a professional and I do it on my spare time


    @sed Lex,
    I totally get why you did this – I actually create top-level menus for plugins of my own internal use.
    Thanks again for the excellent work on this plugin. 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Love this useful plugin – but I made one change’ is closed to new replies.