How To Add Custom Post Types To At A Glance Dashboard Widget In WordPress

How To Add Custom Post Types To At A Glance Dashboard Widget In WordPress

You can do so many cool things in WordPress with Custom Post Types. So, here’s a trick to add Custom Post Types to At A Glance dashboard Widget in WordPress.

Display A Specific Custom Post Type

bbPress forum, Gravity Forms, and all other things are custom post types, so if you want to display just a specific custom post type in At A Glance dashboard widget, then add following snippet to your current theme’s functions.php file:

Just replace snippet in above code with your custom post type.

Display All Custom Post Type

If you want to show every custom post type (except menus, media & all) then you can add following snippet to your current theme’s functions.php file:

Joshua Vandercar created an easy to use plugin to do this task without touching any line of code. You can install and use the plugin by searching Glance That on your WordPress plugin page.