Articles

Using sorting functionality along with DIVI Filterable Portfolio module

DIVI provided by Elegant Themes is just great! Excellent functionality provided through their visual composer and modules, make things easy to manage and stunning layout creation a breeze. Advanced Post Types order plugin provide total control over the content sorting for your DIVI powered website. Sorts are maintained easily through lists, which can apply globally […]

Sort post objects assigned to a taxonomy terms but not it’s children

Per WordPress Codex when creating a custom query, and request objects which belong to a specific term, direct assigned objects will be included. Also all other objects which belong to child terms related to queried term will be returned too. This is the default behavior observed within WordPress dashboard, when filter for a specific category, […]

Update the sorts when changing the site default language

To allow sorting for different languages through custom plugins like WPML the plugin implemented a custom functionality which also save the sort language. The feature becomes active right after plugin activation, even if there’s no multilingual code active yet to preserve sorts compatibility for later usage.

Sample code on how to apply the sort for Post Types Order plugin

The Post Types Order plugin is a great tool for sorting site content. It include the Autosort functionality, if turned on will auto-apply the customized order to all queries, there’s no need to modify any code. This makes it the ideal tool for people who don’t care about programming and just want an out-of-the-box tool. […]

Add numbers to items within the sort list interface

The Advanced Post Types Order plugin is based on jQuery Sortable UI to implement the drag & drop interface. As default this use the Unordered List tag (ul). For better control, some users might find easier to see ordered list (ol) instead which output numbers for each item in the list, accordingly to position in […]

How to sort posts automatically by a number/year included in title

Manual sorting is a fun process, order adjustments are easy through the Advanced Post Types Order plugin drag & drop interface. Automatisation is possible through Automatic Order functionality. This provides a powerful set-up for creating algorithmic based sorting without a human intervention. For large list, this might be a good option to save good time […]

Automatically Randomize a sort list while keeping the sticky posts on top

Through the Automatic Order functionality, the Advanced Post Types Order plugin provide an excellent support for post objects sorting automatization. Using default functions, easy order can be set by ID, Author, Title, Slug, Date, Modified Date, Comments Count etc. Also Custom Fields sorting can be easily set-up by specify the custom fields keys. Effortlessly infuse […]

Display the SKU for WooCommerce products within re-order interface

The Advanced Post Types Order plugin is a powerful tool that allows WooCommerce store owners to easily and accurately sort products within categories. One of the standout features of this plugin is its ability to maintain the order of products across multiple categories, ensuring a consistent shopping experience for customers. By default, the re-order interface […]

Create sorting for queries containing Custom Field Handling / Meta

Staring version 3.8.9 the Advanced Post Types Order got a major code extension to include the possibility to focus a sort on an exact front site query contain a Custom Field Handling / meta_query section. The Custom Fields meta data is the way WordPress save additional information for custom post types. These are used by […]