Ready to get started?Download WordPress


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

  1. Dinesh Kesarwani
    Posted 7 months 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 5 months 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 5 months ago #

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


You must log in to post.

About this Plugin

About this Topic


No tags yet.