Articles

Use a simple sort along with complex queries

Advanced Post Types Order Simple Sort is an easy way to maintain order for different queries/sections (e.g. archive, taxonomies) within a single interface. As opposite an Advanced Sort can match a single query but which include a mix of posts, taxonomies, meta data and other parameters. This is a powerful tool which allow to match […]

How to order Wordpress Posts using a Custom Field value

Need to sort WordPress posts by a custom field instead of the default publish date? Maybe you’re organizing events by start date, products by price, or portfolio pieces by priority. Normally, that means writing a pre_get_posts hook, setting orderby to meta_value (or meta_value_num for numbers), and pointing it at the right meta_key inside a WP_Query […]

Hide and increase Security for your WordPress website

Say Hello to WP Hide & Security Enhancer a brand new plugin which provide an easy way to completely hide your WordPress core files, theme and plugins path from being show on front side. This is a huge improvement over Site Security, no one will know you actually run a WordPress. Provide a simple way […]

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

Ignore sort apply for certain query on Post Types Order

This replaced the deprecated filter pto/posts_orderby The free WordPress plugin Post Types Order is already a “must have” code on any website. Control any post sorting through a nice and easy to use interface. When Autosort is ON, the sorting is applied to all queries that match the post type. It can be forced by […]

Apply post type Archive order to all taxonomies / categories

The Advanced Post Types Order plugin is an incredibly powerful tool that allows WordPress users to easily sort their posts, pages, custom post types, and WooCommerce products. It’s a fantastic way to organize content on your website, but did you know that the plugin is also incredibly flexible in terms of its functionality? In certain […]

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