wordpress sort custom post type columns

0

When you’re creating custom post types into your wordpress site you can see it’s posts as list.But there is no option to sort each columns.You have to manually add this facility to do this.I’ll describe here very simply how to do this without any plugin.

wordpress sort custom post type columns

How to add custom post type columns?

I’ll first show you how to add custom columns.Then you can understand the post better.
My custom post type is “Campaigns“.

Sort custom post type columns

After add that you can sort the columns.
wordpress sort custom post type column

Hope this will help to your custom plugin.

Share.

About Author

Sumith Harshan is the Web Engineer Specializes in Java Script, JQuery, HTML4/5, CSS2/3, PHP, CodeIgniter, CakePHP, J2SE, J2EE, XML, Hacking & Security, Mobile Interface Developing, Magento, Wordpress, Joomla, Drupal,PHPBB,Facebook App Developing and Open cart...etc.