Wordpress plugins
Glance That

Glance That

Version : 3.5
Tested up to : 4.8.2
Number of download : 5319
Author : uamv
Average rating : 5 / 5 on 15 votes 15 votes, 5 avg.rating

Screenshots

Glance That
Glance That
Glance That
Glance That

Glance That allows users to customize the content viewable in At a Glance on the WordPress Dashboard. Users can add/remove items from At a Glance, view statuses of posts, assign custom dashicons for their display, sort the order of displayed items using drag & drop, and quick link to the Add New content screens. Display of items respects user capabilities. Administrators can apply a glance configuration site-wide to all users or to new users. Currently, the following items are supported … Custom post types Revisions (admins only) Media Plugins Themes Users Gravity Forms Formidable Forms Give Forms Additionally, Glance That allows you to toggle view of the number of items matching the following statuses: Scheduled Pending Draft Private Archived (via Archived Post Status) Trash Unattached (Media) Spam (Comments) Active, Inactive (Plugins & Gravity Forms) Updates (Plugins & Themes) Favorites, Recently Active, Must-Use, Drop-Ins (Plugins) If you’ve defined custom post state icons via Post State Tags, then Glance that will inherit these. Constants Add the following constants to wp-config.php to control display of Glance That items Hide add new icon define( 'GT_SHOW_ADD_NEW', FALSE ); Hide status items define( 'GT_SHOW_ALL_STATUS', FALSE ); Hide glance items with a zero published count define( 'GT_SHOW_ZERO_COUNT', FALSE ); Show status items with zero count define( 'GT_SHOW_ZERO_COUNT_STATUS', TRUE ); Show all dashicons in the icon selector by adding define( 'GT_SHOW_ALL_DASHICONS', TRUE ); Restrict modification of visible glances by adding define( 'GT_EDIT_GLANCES', 'capability_required_to_edit' ); Restrict application of default glances by adding define( 'GT_ADMIN_GLANCES', 'capability_required_to_admin' ); Show must-use or drop-in plugin status define( 'GT_SHOW_MUSTUSE', TRUE ); define( 'GT_SHOW_DROPINS', TRUE ); Filters The gt_default_glances filter can be used to define glances that should be visible to a user upon first visiting their dashboard. apply_filters( ‘gt_default_glances’, array $default_glances, int $user_ID ); where the $default_glances parameter is prepopulated as // Define standard defaults $gt_default_glances = array( 'post' => array( 'icon' => 'f109', 'sort' => 1 ), 'page' => array( 'icon' => 'f105', 'sort' => 2 ), 'comment' => array( 'icon' => 'f101', 'sort' => 3 ), ); The gt_labels filter can be used to custom labels for glances. apply_filters( 'gt_labels', str $label, str $glance, int $count ); The constants defined are becoming more plentiful, so in the interest of possibly removing these in a future version, v3.0 adds corresponding filters for nearly all. gt_show_zero_count gt_show_add_new gt_show_all_status gt_show_zero_count_status gt_show_mustuse gt_show_dropins gt_show_all_dashicons

Download now