Popular

Easy WooCommerce order by Total Sales

WooCommerce is a free eCommerce plugin for WordPress that makes it incredibly easy for selling products online. WooCommerce is an Open-source platform and highly customisable code.

Why WooCommerce sort is important for a shop?

Every aspect of a WooCommerce shop is important. Apparently insignificant details can make a difference between a sale and a lost customer. WooCommerce product order is a must to consider for every shop. Relevant content should always stand first, before anything else. This ensures the potential products are viewed first and spotted, rather than lost in endless lists. (more…)

Autosort a Category by posts Featured Image Title

The Automatic Order functionality along with Custom Function it’s a very powerful tool to customize the sort of a give area by very specific criteria. As specified at https://www.nsp-code.com/applying-automatic-order-for-a-sort-through-a-user-function-callback/ the filter return a list of all posts within the section / query on which different operations can apply.
(more…)

Add WooCommerce Shop Manager custom role for Advanced Post Types Order sorts

As described at Filter – Add Custom Role / Modify exiting – Minimum capability to use this plugin custom role can be appended to the existing list. This is not something to be included automatically, as custom roles rely on capabilities, so it needs one to select. (more…)

Synchronize an Advanced Post Types Order sort list across all languages along with WPML

During recent year, WPML becomed the best plugin to help translating any site into a multilingual. It featured lots of options and functionality which help with pretty much everything related to languages and translations. (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…)

Pagination on AJAX Sort List Update

For very large list, it can be a challenge to save an order list. Something this can take a while, on certain hosts it can be stopped from execution returning an 500 server error. The main cause for this is a php environment variable called Maximum Execution Time. This is generally set for 30 seconds.
When Pagination is set for Advanced Post Types Order plugin, the timeouts are no longer a problem, the sort list save job is split into small chunks to allow server to process the data.

Pagination on AJAX Sort List Update - progress

Additionally, a progress data is being show, the current chunk page out of total jobs.

Pagination for large Sort Lists

The Advanced Post Types Order plugin provides a Pagination functionality that allows you to split a large number of objects into multiple pages using a WordPress pagination style. This feature is particularly useful when dealing with sort lists that have a high number of items, as it helps to improve the sorting process by making it more manageable.

By enabling pagination for a specific sort, you can control how many objects are displayed on each page, thereby reducing the amount of HTML code that needs to be loaded at once. This can help improve the performance and loading speed of your website, especially when dealing with a large number of items.

Additionally, pagination makes it easier for users to navigate through the list, as they can view a limited number of items per page and move to the next or previous page as needed. This improves the overall user experience by providing a more organized and accessible way to browse through the sorted items.

Pagination for large Sort Lists - settings
(more…)

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 rushed eye.

Advanced Post Types Order plugin provide excellent tools to manage everything when it come to content sorting, moving things around is a breeze job, re-ordering can be achievable through provided intuitive visual interfaces.
(more…)

How to Order Posts by Category Name

Creating custom Sort for Posts (or any other custom post type) within categories is an easy task using the Advanced Post Types Order plugin, a visual drag & drop interface is easy to set-up and self explanatory. The order can be customized for individual categories which apply accordingly on front side when view such area (e.g. category link). (more…)

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 match any type of sorting, automated or manual drag&drop. The article at WooCommerce – Sort Products which belong to multiple categories descriebe the basics to get it started.
(more…)