MAJpage Menu Class Extender
[resolved] Add support for wp_page_menu (3 posts)

  1. Dinesh Kesarwani
    Posted 2 years ago #

    Hi @duzymaju,

    Add below code to add support for wp_page_menu
    add_filter( 'wp_page_menu', 'majpage_mce' );


  2. duzymaju
    Plugin Author

    Posted 2 years ago #

    Hello Dinesh,

    Thanks a lot for your notice. Today I added wp_page_menu support in new 1.4 plugin's version. :)

    I omitted wp_page_menu simply because I never use menu based on pages hierarchy and I thouht that it's rarely used. After your notice I started thinking about adding control panel and allow users to check if they'd like to use classes extension into wp_nav_menu, wp_page_menu or both but I found that it would be only unnecessary database querying because more classes in menu elements isn't a bad thing and if someone have two different menu types and he don't need additional classes in one of them, he simply doesn't need to use them. :P

    In new plugin's version there are also a number of other changes so I will be grateful for checking new version of plugin.

    If you have other suggestions connected with this plugin, I'll wait for your information. ;)

  3. flynsarmy
    Posted 2 years ago #

    Thanks for focusing on performance, duzymaju. Few WP plugin devs tend to.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • MAJpage Menu Class Extender
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.