Custom Right Now Dashboard Widget

The first example replaces the widget contents with whatever you define.  You will need to define variables according to slug.

The second example simply adds all registered Custom Post Types, Tags, Taxonomies and Categories to the list in the WordPress dashboard widget, which can be too much for some larger sites.  Still, it may prove helpful in circumstances where site managers need quick and easy access to all content types.

Add to functions.php file or plugin.

– or –

 

Dave focuses in WordPress UI Design and WordPress Plugin Development (some have labelled him a fanatic) but has hands in many other projects, including photography and music. He's never far from a computer... or an iPad (for testing purposes, of course). Don't even try to bother him during Premier League games, though... he's cheering way too loudly for a team destined to play second fiddle. Dave currently teaches courses in code and philosophy at California State University, Long Beach (well... from home for the foreseeable future) alongside his small business at dauid.us. But, every now and then, he steps outside to protest or give the dog a car ride.
© 2008-2020, dauid.us