Support » Plugin: Pods - Custom Content Types and Fields » Customising list view of a Pod

  • Resolved mondocongo



    Is it possible to customise the columns shown in the list view for a Pod? I’ve tried using the wordpress filter like so:

    function add_provider_columns($columns) {
        return array_merge($columns, array(
            'provider_name' => __('Provider name'),
            'address' => __('Address'),
    add_filter('manage_providers_posts_columns' , 'add_provider_columns');

    The columns appear in the list, but with empty values. Any ideas?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Scott Kingsley Clark


    Try out the CodePress Admin Columns:

    It makes this sort of thing very easy with Pods and Post Types. Otherwise, you’ll need to use an additional filter to hook into the column values, since the filter you’re using now only adds it to the table headers.

    Cheers for the info – that plugin doesn’t seem to be aware of the Pod’s fields though, it just displays the standard WP fields for each Pod.

    Plugin Author Scott Kingsley Clark


    Pods fields are custom fields, it only picks up fields that have been set so far. We are working through additional integration right now, there are some pending patches that I’m waiting on them committing soon.

    Ok thanks – in the meantime I found the manage_{type}_posts_custom_column filter which does the trick.

    Thanks for the quick replies 🙂

    Plugin Author Scott Kingsley Clark


    The patches made it into CodePress Admin Columns, we’ve got some more stuff cooking in Pods 2.3 that will do a few more tweaks and fixes.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Customising list view of a Pod’ is closed to new replies.