开发者 | Nick_theGeek |
---|---|
更新时间 | 2012年3月20日 07:22 |
捐献地址: | 去捐款 |
PHP版本: | 3.0 及以上 |
WordPress版本: | 3.3.1 |
genesis-nav-menu-amplified
folder to the /wp-content/plugins/
directoryThe Menu was probably moved using an uncommon menu hooks like
remove_action( 'genesis_after_header', 'genesis_do_nav' ); add_action( 'genesis_sidebar', 'genesis_do_nav' );
You need to change it to
remove_action( 'genesis_after_header', 'gnma_do_nav' ); add_action( 'genesis_sidebar', 'gnma_do_nav' );
See the code in the previous question. That is the same code for moving the menu. If you want to use a different hook, change the "genesis_before_header" part of the code, if you want to move the secondary menu change "gnma_do_nav" to "gnma_do_subnav." Alternately you can try the normal method for moving the menu, the plugin checks over a dozen of the most likely to be used hooks to see if a Genesis menu is there and then replaces it.