[Plugin: Google Analytics Dashboard] Post analytic results spill into custom column
-
See screenshot: http://dl.dropbox.com/u/1687739/error.png
PHP that registers my own column (in functions.php):
add_filter("manage_projects_posts_columns", "project_edit_columns"); add_action("manage_projects_posts_custom_column", "project_custom_columns"); function project_edit_columns( $columns ) { // Add the extra column for product categories instead of rebuilding the whole array $columns["client"] = "For Client"; return $columns; } function project_custom_columns( $column ) { global $post; switch( $column ) { case "client": echo get_the_title(get_post_meta($post->ID, '_cs_client', true)); break; } }
http://wordpress.org/extend/plugins/google-analytics-dashboard/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘[Plugin: Google Analytics Dashboard] Post analytic results spill into custom column’ is closed to new replies.