OrganizeWP Docs

2.0.4 ยท last updated June 2026
09 โ€” Customizing

Info Columns

By default the post type view displays only the tree view of entry titles, keeping the interface clean. This contrasts with the WordPress admin list tables, which show many columns and can become cluttered by the many plugins that insert their own data.

OrganizeWP ships with two opt-in Info Columns:

  • Author โ€” the author’s initials (full name on hover).
  • Modified โ€” the modified time, relative (full date on hover).
The Author and Modified Info Columns
The two built-in Info Columns.

Both are opt-in via a single filter each:

add_filter( 'buildworks/organizewp/post_type/info_columns/author', '__return_true' );
add_filter( 'buildworks/organizewp/post_type/info_columns/modified', '__return_true' );

Create a custom Info Column

Like the Entry Panel, Info Columns are fully customizable. Build a class that returns the markup to display for each entry by defining a display() method that receives an Entry and returns a string. Then register it on the post_type/info_columns filter:

<?php
use Buildworks\OrganizeWP\Entry;
use Buildworks\OrganizeWP\PostType;
use Buildworks\OrganizeWP\PostTypeInfoColumn;

class Comment_Count_Column extends PostTypeInfoColumn {

	public function __construct( PostType $post_type ) {
		parent::__construct( $post_type );

		$this->name  = 'comment_count';
		$this->label = __( 'Comments', 'your-textdomain' );
	}

	public function display( Entry $entry ): string {
		return '<span class="comment-count">' . esc_html( get_comments_number( $entry->ID ) ) . '</span>';
	}
}

add_filter( 'buildworks/organizewp/post_type/info_columns', function ( $columns, $post_type ) {
	$columns[] = new Comment_Count_Column( $post_type );
	return $columns;
}, 10, 2 );
A custom comment-count Info Column
A custom Info Column surfacing comment counts.

Custom Info Columns let you build an interface tailored to your editors by surfacing the data most relevant to their daily workflow.