[wp-testers] adding taxonomy post_tags to custom post type andthe custom post type editor

Philip M. Hofer (Frumph) philip at frumph.net
Wed Jun 23 17:52:54 UTC 2010


add_filter('manage_edit-comic_columns', 'comicpress_add_new_comic_columns');

function comicpress_add_new_comic_columns($comic_columns) {
 $new_columns['cb'] = '<input type="checkbox" />';

 $new_columns['title'] = _x('Comic Title Name', 'column name');

 $new_columns['chapter'] = __('Chapter','comicpress');
 $new_columns['characters'] = __('Characters','comicpress');
 $new_columns['tags'] = __('Tags', 'comicpress');

 $new_columns['date'] = _x('Date', 'column name');
 $new_columns['comicimages'] = _x('Comic', 'column name');

 return $new_columns;
}


Added columns using an add_filter.

customizing my custom post editor.


----- Original Message ----- 
From: "Andrew Nacin" <wp at andrewnacin.com>
To: <wp-testers at lists.automattic.com>
Sent: Wednesday, June 23, 2010 10:50 AM
Subject: Re: [wp-testers] adding taxonomy post_tags to custom post type 
andthe custom post type editor


> What do you mean by "and you add it to the columns for the custom post 
> type
> editor"?
>
> On Wed, Jun 23, 2010 at 1:40 PM, Philip M. Hofer (Frumph) 
> <philip at frumph.net
>> wrote:
>
>> When adding the tags taxonomy to a custom post type and you add it to the
>> columns for the custom post type editor, the link on the tag goes to
>> edit.php?tag=  instead of edit.php?post_type=*****&tag=
>>
> _______________________________________________
> wp-testers mailing list
> wp-testers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-testers
> 



More information about the wp-testers mailing list