Tags

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

How to expand / narrow a sort settings within admin interface

The Advanced Post Types Order plugin include quite many options to cover up all possible scenarios. For that reason the sort settings admin interface it’s long, depending on monitor resolution it may not fit within a full screen size so the scroll need to be used to access all options. Since the actual sorting interface […]

Apply post type Archive order for all taxonomies / categories

The Advanced Post Types Order plugin is very flexible in functionality. In certain situations, individual sort for each taxonomy terms (categories) is not required, but instead Archive order is needed to apply on all other sections. The following example return the archive order for any query that match the post type array. The apto_query_match_sort_id filter […]

Hide Sort Settings interface for certain administrator role users

The Sort Settings interface is available by default only to administrator role users. There are situations when sort settings need to be available only for certain users. The apto/wp-admin/reorder-interface/view-settings-capability filter help on that matter. The following example hide the sort settings interface if logged-in user is not ID 1 or 2 or 3. This can […]

Applying multiple order criteria for Automatic Order through Fallback functionality

The Advanced Post Types Order plugin include an easy way to automatically sort objects of a list (e.g. post type archive, category list, mix of post types and taxonomies terms etc) through a powerful functionality called Automatic Order. This will auto update sort for objects on front site.

Applying a different capability for Administrator when using Advanced Post Types Order

By default the Advanced Post Types Order plugin use the ‘switch_themes’ capability for Administrator role. There are situations when this capability is not available or is been removed or relocated for another role, meaning administrators are not able to see or change a sort. The following code show how to change the ‘switch_themes’ to ‘activate_plugins’ […]

Understanding Sort List Settings area

Each Sort use it’s own settings, meaning they will not affect other order lists. Only Admin and SuperAdmin (in case use MultiSite environment) can see the Sort List Settings area. The Sort List Settings area consist of three sections: Query Rules Conditionals Interface Query Rules This contain information’s regarding the sort query rules and to […]