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
- By wp-apto
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, […]
- By wp-apto
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 […]
- By wp-apto
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 […]
- By wp-apto
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 […]
- By wp-apto
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 […]
- By wp-apto
- News
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.
- By wp-apto
- 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.
- By wp-apto
- News
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.
- By wp-apto
- News
Update Order for Child Categories When Modifying Parent Category Sort Order
In WordPress, organizing content through categories is a fundamental aspect of structuring your website. When dealing with a hierarchical structure of categories, sorting can be managed individually per each category, depending on the required order. Sometimes, when changing the sorting for the parent category, it require to reflect for their child categories too. Upon updating […]