Create sort lists

Share on FacebookTweet about this on TwitterShare on Google+Share on LinkedInPrint this page


A Sort is the list through which the order of objects is held. Through the Advanced Post Types Order a sort can apply for any content type or conjuncture of single / multiple custom post types, a mix of custom post types, using taxonomies, authors parameters etc.

Once the plugin deployed, at least one Re-Order Interface should be set for Show through plugin settings area at Settings > Post Types Order.

advanced-post-types-order-show-hide-reorder-interfaces

Per above example image, the Re_order interface has been set to show up for Posts and Feature admin menus. This is how the new menu item appear.

advanced-post-types-order-interface-reorder-menu

On the first run, this interface contain the default sort list, which is set for sort on the post type for which the menu has been created. Additional sort lists can be created to be show in this interface using the add tab. This capability is available only for site Admin and SuperAdmin in case of using MultiSite environment:

advanced-post-types-order-interface-new-sort-tab

Any sort list can be deleted anytime or moved to another Re-order interface from Sort Settings > Menu Location (see Understanding Sort List Settings Area for additional descriptions. Also when a Re-order interface is set for Hide from plugin settings, any existing sorts will be relocated to the nearest visible interface.

This is a sample on how a Sort interface appear for a simple(custom post type):

advanced-post-types-order-sample-sort-interface

In case of multiple sorts of same type (i.e. containing the same post type) if there are no conditionals to make a difference, the first sort will apply.

API Index