wordpress snippets last updated   : August 18, 2014
we now have 638 snippets

Change wordpress admin post columns order

wordpress snippet

I have needed to move a post column like “date, tags, author” or even a custom column within the wordpress admin. This is a simple method that I used to change the order of columns within the admin. What you have is two variables you will need to change $move and $before. Move is the name of the column you would like to move. Before is the name of the column you would like to move it before. The following snippet will let you move the author column before the post title column.

read more

Display post attachment count in admin column

wordpress snippet

Sometimes you have a post with multiple attachments and it would be nice to see a count of the total media attached to a post. Adding this snippet to the functions.php of your wordpress theme will display the post attachment count in a custom admin column.

read more

Force dashboard to display a single column only

wordpress snippet

Adding this snippet to the functions.php of your wordpress theme will force the wordpress admin dashboard to display in a single column only.

read more

Remove post columns

wordpress snippet

Adding this PHP code to the functions.php of your wordpress theme will allow you to remove columns from the posts page.

read more

Posts in two columns

wordpress snippet

Adding this PHP code to your wordpress theme will split your posts into two columns.

read more
jqsnipp.com | we just launched jquery snippets website