WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Dinesh Kesarwani
    Member
    Posted 7 months ago #

    Hi @duzymaju,

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

    http://wordpress.org/plugins/majpage-menu-class-extender/

  2. duzymaju
    Member
    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
    Member
    Posted 5 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.