Archive for Category: WordPress

Adding Custom Columns to Custom Post Types

The hooks to create custom columns and their associated data for a custom post type are manage_{$post_type}_posts_columns and manage_{$post_type}_posts_custom_column respectively, where {$post_type} is the name of the custom post type. This example from the documentation removes the author column and adds a taxonomy and meta data column: // Add...

Read More