WordPress.org

Ready to get started?Download WordPress

Forums

SuperCPT
[resolved] Show taxonomy values on a table column (4 posts)

  1. marcelo2605
    Member
    Posted 1 year ago #

    I create a custom taxonomy like that:

    $areas = new Super_Custom_Taxonomy('area', 'Área', 'Áreas', 'cat');
        $areas->show_admin_column (true);

    But I can't see the values on the post type table.

    http://wordpress.org/plugins/super-cpt/

  2. Matthew Boynes
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Marcelo2605,

    I used your code verbatim and it works great for me. Are you connecting your taxonomy to any post types? If not, that's your problem. Here's an example of how to add your taxonomy to the default 'post' post type:

    $areas = new Super_Custom_Taxonomy( 'area', 'Área', 'Áreas', 'cat' );
    $areas->show_admin_column( true );
    $areas->connect_post_types( 'post' );
  3. marcelo2605
    Member
    Posted 1 year ago #

    Thanks. Now it's working. Is possible to make it sortable?

  4. Matthew Boynes
    Member
    Plugin Author

    Posted 1 year ago #

    Sure, everything is possible with a little elbow grease :-). You should Google it to get yourself started.

    Good luck!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.