WordPress.org

Ready to get started?Download WordPress

Forums

Category Order
Broken category order plugin (5 posts)

  1. wanderer12
    Member
    Posted 2 years ago #

    This plugin doesn't work. Any other suggestions?

    "The package could not be installed. PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature"

    http://wordpress.org/extend/plugins/order-categories/

  2. mrose17
    Member
    Posted 2 years ago #

    i went to the plugin page, clicked on Download Version 1.0.3, got a .zip file downloaded, double-clicked on the file and got the directory. there's not much there: just a readme.txt file and a category-order.php file. the plugin works fine, by the way!

  3. janisi
    Member
    Posted 2 years ago #

    There is problems with registering menus.

    Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in WP\functions.php on line 2712

    Notice is displayed when in Debug mode.

  4. mrose17
    Member
    Posted 2 years ago #

    [ Moderator Note: Please post code or markup snippets between backticks or use the code button. Or better still - use the pastebin ]

    true. the original poster got a corrupted .zip file. i downloaded the .zip and it extracted fine.

    with respect to "the plugin works fine", you're right: the key change to make is this:

    function wpguy_category_order_menu(){
                    if (function_exists('add_submenu_page')) {
    -                       add_submenu_page("edit.php", 'Category Order', 'Category
     Order', 4, "wpguy_category_order_options", 'wpguy_category_order_options');
    +                       add_submenu_page("edit.php", 'Category Order', 'Category
     Order', 'manage_categories', "wpguy_category_order_options", 'wpguy_category_or
    der_options');
                    }
    -       }

    if you want the plugin to work with categories for things other than posts, then there is a little more work to do...

  5. changkhongayngo
    Member
    Posted 1 year ago #

    it work for me!
    wp 3.5.1

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic