Warning: Undefined property: WP_Error::$name in /srv/users/nsp-code/apps/nsp-code/public/wp-content/themes/apto/templates/parts/category-header.php on line 15

Warning: Undefined property: WP_Error::$name in /srv/users/nsp-code/apps/nsp-code/public/wp-content/themes/apto/templates/parts/category-header.php on line 18

Sample Usage

The Advanced Post Types Order plugin does all work for you when Autosort setting is turned ON, however in certain situations custom queries are required to be run along with Autosort turned OFF. Return feature post types objects, using the order set for the archive (all feature post type items): Return feature post types objects, […]

Get Adjacent Post

Used on single post permalink pages, this return the post type data to the previous/next post. This function must be used in The Loop. The default WordPress function for this is get_adjacent_post however this procedure is very restrictive with the custom order and the terms/taxonomies where to apply. An improved version is apto_get_adjacent_post function. This […]

Next Post Link

Being used mainly on single post template, this tag display a link to a next post relative to the current post, from a sort list. This tag must be used within the query loop. The default WordPress function used for next navigational link is next_post_link. This is very limited in functionality and there is no […]

Previous Post Link

Being used mainly on single post template, this tag display a link to a previous post relative to current post, from a sort list. This tag must be used within the query loop. The default WordPress function used for previous naivigational link is previous_post_link. This is very limited in functionality and there is no possibility […]

Identify the correct settings for a sort to apply on front side

For majority of front query a simple sort will be enough to maintain the order. Switching between the filtering under the blue arrow, allows to fast change the area where the order is required to be customised. Some of front queries also use a mix of taxonomies and / or post types which is not […]

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

Sorting WordPress posts by last name is a technique that can significantly enhance content organization, especially when dealing with directories, team listings, or any content where authors or contributors are better identified by their surnames. This approach not only makes it easier for visitors to locate information but also adds a level of professionalism and […]

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.

Selectively Hiding features/elements in the reorder interface

The Advanced Post Types Order (APTO) plugin in WordPress provides a powerful way to manage and reorder posts and custom post types. However, there are cases where you might want to customize the interface further, such as hiding specific options for certain user roles to keep the dashboard cleaner and more secure. In this guide, […]