Tags

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.

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.

Apply Archive Order to Taxonomies Terms / Categories, if no custom order is defined

When migrating from free Post Types Order, on activation. the Advanced Post Types plugin automatically import the previously customized order. This is saved within Archive area, since this is the type of sorting the free code is capable off. The other areas as taxonomies terms like categories, inherit default sorting by date as there’s never […]

Turn off visibility for WooCommerce Hidden products within sort list

Catalog visibility for WooCommerce is a simple way to keep certain products visible or invisible for customers, hidden products will not show on front side shop. Mainly this is being used for content not yet available or under development. The option is being integrated within Publish widget or through Quick Edit.

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.

How to retrieve the sticky posts for a sort

The default WordPress Sticky functionality is very limited. It allows to put a post on top of the list which is pretty much everything about it. Beside other missing functionality, there is no control over order, making the list totally uncontrollable.

How to sort posts automatically by a Last Name included in title

Automated sorting is always a fast way to maintain ordering without any admin intervention Automatic Order.

How to randomize the first 10 posts in a manually sorted list

The first step will be to create a sort which match a specif area of the site. Any sort type can be used either simple sort or mix of taxonomies and post types.

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.

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 […]