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" <[email protected]>
To: <[email protected]>
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)
<[email protected]
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
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers
_______________________________________________
wp-testers mailing list
[email protected]
http://lists.automattic.com/mailman/listinfo/wp-testers