Tags

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.

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

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

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.

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

How to output Natural order for items along with Automatic Order

At the code level there are multiple type of order types, meaning the results can be different depending on the algorithm is being applied. As default a text sorting (SORT_REGULAR flag) is being used.

Default sort list for every new Site in your WordPress MultiSite environment

WordPress MultiSite environment is a great way to create a network of sites, easily managed from a common dashboard. The Advanced Post Types Order plugin is fully compatible with MultiSite set-up, it can be activated either on punctual site or network wide.

Customizing sort through default post type archive interface

Customizing the sort for a site content is the key to improve SEO ratting and keep you in business. Any new visitor will navigate your page just a bit before leave for another site, if not find quality information. Placing the best products and articles in the relevant spots is the way to catch a […]

Page 1 of 212