Skip Navigation

[Résolu] Sort custom post type by custom tax in admin

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
How to sort custom post type by custom taxonomy in admin screen?

Solution:
There is no builtin option to sort custom post type by custom tax in admin.

You need to make it happen using custom coding, I have found a related tutorial to filter post or custom post type by a specific taxonomy term in the WordPress admin:
http://thestizmedia.com/custom-post-type-filter-admin-custom-taxonomy/

This support ticket is created Il y a 6 années et 8 mois. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Auteur
Publications
#553688
Screen Shot 2017-07-27 at 7.08.55 PM.png
Screen Shot 2017-07-27 at 7.08.37 PM.png

I'd like to sort my custom post type by a custom taxonomy in the admin UI. Is this possible?

With the default 'posts' & 'categories' I can sort by category in the "Posts" admin, but there is no option to do this with Types' custom taxonomies & custom post types. Is there a way to enable this?

Thanks

#553836

Noman
Supporter

Languages: Anglais (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Dave,

Thank you for contacting Toolset Support. You can use this plugin to filter categories in wp-admin:
https://wordpress.org/plugins/wp-meta-data-filter-and-taxonomy-filter/

Then you need to follow the first two steps mentioned here:
hidden link

Thank you

#557835

Hi Noman,

I installed that plugin and checked off the post type I'd like to sort, but nothing changed in the wp-admin. There are no new options to sort by the custom tax assigned to this custom post type. Is there something else I need to do?

Is there a built-in option to do this with Toolset Types?

I just realized I posted this question with the wrong title. I can't seem to edit it for future users who may come across it. Could you change it to "Sort custom post type by custom tax in admin"?

Thank you!

#557840

Reopening this ticket.

Also, needs a title edit. See my previous post for new title.

#558052

Noman
Supporter

Languages: Anglais (English )

Timezone: Asia/Karachi (GMT+05:00)

Hello Dave,

I have edited the post title. Sorry there is no builtin option to sort custom post type by custom tax in admin.

From the plugin I mentioned in last response, you can add Taxonomy column but not Taxonomy dropdown filter.

You need to make it happen using custom coding, I have found a related post to filter post or custom post type by a specific taxonomy term in the WordPress admin:
hidden link

I didn’t try this code and we cannot consult on the custom code as per the support policy. https://toolset.com/toolset-support-policy/

We have some recommended list of service providers here who can implement such things for you: https://toolset.com/consultant/

Thank you

#560837

Hi Noman,

I ended up creating a custom plugin based off the code here: hidden link

And also using this plugin for other drag-and-drop sorting: https://wordpress.org/plugins/post-types-order/

Thanks for your help!

Le forum ‘Types Community Support’ est fermé à de nouveaux sujets et réponses.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.