Add custom taxonomy in column and make it sortable

Support MB Admin Columns Add custom taxonomy in column and make it sortable

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #45727
    accounts@beecoding.com[email protected]
    Participant

    Hi,

    We currently have a custom post type called Funnels and a custom taxonomy called Funnel Category. We have added the custom taxonomy in the admin columns by enabled "Show as an admin column". The question is:

    1. Are we able to make the taxonomy in the admin column sortable?
    2. How do we add the taxonomy as a filter beside the Date filter dropdown? https://prnt.sc/6-GcqU_fae5n
    3. In the admin table, is it possible to add a toggle button in the first column and add a function to activate/deactivate a post similar to Code Snippets? https://prnt.sc/GEsFrTW5Qkkv

    What options do we have to implement this?

    Thanks

    #45747
    PeterPeter
    Moderator

    Hello,

    1, 2. You can create a taxonomy field and enable the admin columns option with Searchable, Filterable settings. Also, turn off the admin column when creating the taxonomy Funnel Category: Meta Box > Taxonomies > Funnel Category > Advanced tab.

    Following the documentation
    https://docs.metabox.io/extensions/mb-admin-columns/
    https://docs.metabox.io/fields/taxonomy/

    3. There isn't an option to have a toggle button like that.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.