News

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.
(more…)

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, all posts assigned to the term and it’s child will be show. (more…)

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.
(more…)

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.
(more…)

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 the group. (more…)

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 spent on manual sorting adjustments.
(more…)

How to copy an order list from a category to another

Customizing order of posts within categories is an easy task through Advanced Post Types Order plugin. The self explanatory interface featuring a drag & drop functionality makes sorting a breeze.
(more…)

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 automatisation. 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.

Randomizing sort list through automatic order is very easy, this can be achieved through selecting the Random option. However all posts in the list will be shuffled, so there is fixed position for any of the posts. IN some cases the Sticky Posts are required to stay on top of list while the other posts will be randomized. This functionality can be implemented through the User Function Callback and a bit of code.

(more…)

Display the SKU for WooCommerce products within re-order interface

Using the Advanced Post Types Order plugin, WooCommerce products can be easily and precisely sorted within categories. Even if a product belong to multiple terms/categories, the saved order will be preserved within each one.

The default re-order interface include a product thumbnail, title and object ID. Additional details can be included through a simple code, the following will show the SKU field:
(more…)

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 custom code (theme and plugins) for post-processing.
(more…)

Page 1 of 712345...Last »