=== Orderli === Contributors: Samiconductor Tags: links, ordered Requires at least: 2.5 Tested up to: 3.1 Stable Tag: 0.2 Adds an order field to the link editing page to allow forcing get_bookmarks to output links in a certain order. == Description == Orderli adds the order input box to the link editing page of the link manager. The order parameter lets you explicitly specify an order for the `get_bookmarks` function. The order is applied in ascending order, so links with an order of 0 will be displayed first, 1 next, and so on. Giving the link an order number automatically overrides any sort order you provided to `get_bookmarks` (with the `orderby` arg). Giving links the same order number will apply whatever sort order you provided to `get_bookmarks`. For instance, leaving all links with an order of zero will have no affect on ordering. This lets you provide an explicit order to some links and order the rest with the `orderyby` parameter. You can also group links by giving them the same order number then sort them within the groups with the `orderyby` param to produce interesting orders. == Installation == 1. Upload `orderli.php` to your plugins directory. 1. Activate the plugin in the plugins menu. 1. Edit your links and provide the desired order to each link. == Changelog == = 0.2 = * Used mergesort instead of usort for stability = 0.1 = * Added order meta box to link editing page * Option saved when link added/edited and used when get_bookmarks called