Sunday, November 13, 2011

Adding a wordpress column that has an edit post link

if you are tyring to use manage_posts_custom_column in the wordpress admin and you don't want the title of the post you might have found that wordpress doesn't place a link to edit post on the first column.

The first column is typically the_title() and in admin gets and edit link applied to it.

The solution was surprisingly simply. Wrap edit_post_link() around whichever column data you want to have a link.