Forums

[resolved] [Plugin: pageMash > pageManagement] Change the menu link in the admin panel for Page Mash plugin (6 posts)

  1. Lovelidicious
    Member
    Posted 10 months ago #

    The menu link to the plugin is currently under tools > pagemash.

    I wish to change it to be placed under pages > pagemash instead because I use it to edit all my pages (it's more convenient that way). Is that possible? Please advise. Thanks :)

  2. jmash
    Member
    Posted 10 months ago #

    I've just updated pageMash to v1.2.0 which includes this change.

  3. Lovelidicious
    Member
    Posted 10 months ago #

    Thank you so much for this. :)

    But I just updated to v1.2.0 but the pagemash link is still under tools > pagemash.

    Here's a screenshot of what my admin panel is showing.

    http://img75.imageshack.us/img75/4546/capturemt8.jpg

    Is there any settings I need to change for it to take effect?

  4. Lovelidicious
    Member
    Posted 10 months ago #

    I remove these lines

    if($wp_version >= 2.7){
    
    }else{
    		$page = add_management_page('pageMash page order', 'pageMash', $minlevel, __FILE__, 'pageMash_main');
    	}

    from pagemash.php.

    It's working now. :)

  5. jmash
    Member
    Posted 10 months ago #

    These lines should mean that pageMash is still visible under the management tab for pre 2.7 WP users, but for some reason the uploaded version 1.2.0 of pagemash doesn't include the global declaration for wp_version therefore it is seen as null.

    The line above the ones you removed should have said:
    global $minlevel, $wp_version;

    I'll update pageMash to fix this.

  6. Lovelidicious
    Member
    Posted 10 months ago #

    Thanks for the update again jmash. It is working correctly now. :)

Reply

You must log in to post.

About this Topic

Tags