News

How to Apply different sorts for Desktop and Mobile devices

The Advanced Post Types Order plugin comes with the powerful Conditionals feature, which helps to apply a sort on a specific area.

Through the same Conditionals, a Mobile check is also provided, to narrow down the order appliance only for phone devices.
(more…)

How to add DIVI Post Navigation with Sort support

Divi is a nice theme, the incorporated builder is very easy to use and provides lots of functionalities. But like default WordPress navigation methods it misses any kind of support for Sorting and ordering apply when outputs navigation links.

Since version 4.3.5 the Advanced Post Types Order plugin introduced a new module APTO – Post Navigation which can be used to show post navigation link while applying the customized order. When add a new module, within the list there will be shown a new item which can be inserted in the template:
(more…)

How to show posts only for current category and not include childs, when view the re-order interface

For hierarchical taxonomies like Categories, the terms can take a parent-child structure scheme. This helps for a better organization of the customs port type objects assigned to the categories.

Sometimes, the themes and plugins, when query and outputs categories, specify a taxonomy argument called include_children. If set to TRUE, the query returns only direct post objects assigned to queries taxonomy term and not including the child of current terms ( which is the default behavior ).
(more…)

Apply customized order to search results

A default search returns the found objects for all site custom post types. This makes difficult a sort to be created, which will apply for the search result, as is require all objects to be displayed in the list, which for large sites means thousand of items.

(more…)

Sort WooCommerce Products while automatically put the Out of Stock items at the end of list

Sorting for WooCommerce Products is a simple process, the Advanced Post Types Order cover all possibilities to cover any type of sorting automation or manual drag&drop. The WooCommerce – Sort Products which belong to multiple categories cover the basics to get started.
(more…)

Add “Jump to Position” icon for items in re-order list

The re-order interface uses a drag&drop functionality which makes the sorting process very easy. Using a mouse or tap gesture for mobile devices, the items can be dragged and dropped up and down, uppon the required order. The process is generally fast and takes coupe minutes for arrangements of 50-100 objects.

On large lists, when pagination is not being used, the drag & drop of items up and down might become slower, as the page also need to scroll along with the mouse positioning. The “Jump to Position” feature, is a great way to quickly move an object at a specific position in the list, by entering the required position where the item should be re-located:


(more…)

How to Order Posts by Category Name

Creating custom Sort for Posts (or any other custom post type) within categories is an easy task using the Advanced Post Types Order plugin, a visual drag & drop interface is easy to set-up and self explanatory. The order can be customized for individual categories which apply accordingly on front side when view such area (e.g. category link). (more…)

How to disable Archive selection on a sort interface

When creating a simple sort the selection area outputs the Archive and all taxonomies assigned to a particular custom post type:


(more…)

How to Limit the number of order indexes in post queries

When using Auto Sort functionality, The Advanced Post Types Order plugin apply the order automatically on front side. This works very easy and does not require any coding skills, the customised order is inserted automatically in all front/dashboard queries which match the sort set-up.

(more…)

Retrieve posts per customised order through JSON REST API


The JSON REST API service, fully implemented into WordPress since 4.7, provides a great way for other applications to connect. This is a huge step forward, as it can communicate and exchange data regardless of what languages an external program uses.

(more…)