Viewing 1 replies (of 1 total)
  • Thread Starter brasofilo

    (@brasofilo)

    Well, just for the record, I’m solving this by now using the following code.

    (can be used inside the theme’s functions.php, as a plugin or a mu-plugin)

    <?php
    /* Plugin Name: Move WP PageNavi Styles */
    add_action( 'admin_init', 'remove_wp_pagenavi_style' );
    add_action( 'admin_menu', 'add_wp_pagenavi_style' );
    function remove_wp_pagenavi_style() {
    	remove_menu_page('wp-pagenavi-style/wp-pagenavi-style.php');
    }
    function add_wp_pagenavi_style() {
    	add_theme_page('PageNavi Style', 'PageNavi Style', 'install_plugins', 'wp-pagenavi-style/wp-pagenavi-style.php');
    }

    obs: attention to the install_plugins capability, adjust as desired

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: WP PageNavi Style] Top level menu’ is closed to new replies.