Sorting/Filtering by Custom Fields


Viewing 4 posts - 1 through 4 (of 4 total)
Author Posts
June 24, 2013 at 2:59 pm #3234
Post count: 13

Hi Trav,

MasterPress provides great functionality for creating new fields and adding them to the list/posts dashboard view.

However, once a CPT list has more than a few entries in it it becomes unworkable without some sort of filter/sort feature. Most of the uses I can see for Masterpress would need this type of functionality.

The All in One Events Calendar plugin provides this functionality nicely… you can filter events by event category and you can sort by event date/time.

For example, I have a “Tours” custom post type defined, with many custom fields assigned to it.


I think it is really important that the content creator can filter and sort the CPT list entries by newly added fields (regardless whether the fields are categories, tags, taxonomies, custom fields or field sets).

For example, I may want to sort that screen by Tour date.

Do you have any plans to add sorting options to MasterPress? Possibly on the Edit Post Type screen, you could have a sortable/filterable checkbox on each column?

If sortable is ticked, the user can click the table column heading to sort the table by that field.

If filterable is ticked, the user could be presented with a dropdown select box that shows all distinct values for that particular field.

I’m already using the Search Everything plugin to make the custom field data searchable.

Thanks for your assistance.


June 24, 2013 at 3:05 pm #3235
Post count: 207

Hey James. I can certainly see your point – the difficulty with MasterPress as opposed to something like an events plugin is that they can work to more predictable data. It’s certainly not impossible, but the generic nature of the custom fields makes it a bit harder to do.

Noted though, it would be great to have a sortable column at the very least.

August 14, 2013 at 2:00 pm #3303
Post count: 13

Thanks for your reply Travis.

I can see that if a custom taxonomy is assigned to a custom post type in MasterPress, then the Dashboard screen lets you filter records based on the taxonomy.

Do you think it would be much work to be able to have sortable columns for a few of the predictable custom field types such as text boxes, dates, etc?


November 5, 2014 at 4:01 pm #3556
Post count: 13


Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.

Latest From the Blog

MasterPress 1.4.1 is now available

27th May 2024

This update addresses backwards compatibility issues that were introduced in the previous update. There were some edge cases where PHP 7 had issues and it didn’t work at all on PHP 5.6. We have now changed it so that the PHP 8 compatibility changes will now only affect PHP 8 and will be more thorough… 

Plugin Requirements

MasterPress requires a minimum of WordPress version 4.9, MySQL 5.6, and PHP version 5.6.20.

We also recommend that PHP is configured to use a memory limit of 64MB per request (128MB may be required for sites with higher complexity).

This plug-in is not compatible with the hosted service.

Three AM