Glance That

Description

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
  • Gravity View
  • Formidable Forms
  • Ninja Forms
  • Give Forms
  • Sliced Invoices & Estimates
  • ProjectHuddle Sites & Mockups

Additionally, Glance That allows you to toggle view of the number of items matching the following statuses:

  • Mine
  • Scheduled
  • Pending
  • Draft
  • Private
  • Archived (via Archived Post Status)
  • Trash
  • Unattached (Media)
  • Confirmed, Failed, Complete (User Data Requests)
  • 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 Glance That capabilities

Restrict modification of visible glances (default: read) by adding

define( 'GT_EDIT_GLANCES', 'capability_required_to_edit' );

Restrict application of default glances (default: edit_dashboard) by adding

define( 'GT_ADMIN_GLANCES', 'capability_required_to_admin' );

Filters

The gt_labels filter can be used to custom labels for glances.

apply_filters( 'gt_labels', str $label, str $glance, int $count );

The gt_option_icons filter can be used to customize default icon for a specific glance when selected from the dropdown.

apply_filters( 'gt_option_icons', str $icon, str $post_type );

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_mine
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
gt_show_applause

Screenshots

  • Glance That: At a Glance

Installation

  1. Upload the glance-that directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

FAQ

Silence is golden.

Installation Instructions
  1. Upload the glance-that directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

Reviews

Great for sites with lots of CPTs

This is a simple, effective plugin for showing custom post types (of your choice) on the At a Glance part of your dashboard. You could write some code to do it, but why bother when this already exists?

(I am having trouble dismissing that little review nag bar, though…)

Amazing

Incredibly simple but useful tool. Essential for every project!

Support is absolutely incredible. I made 2 (see below) suggestions, which the plugin author picked up and implemented straight away.

Would highly recommend.

I would only recommend adding the following additional functionality:

  • Rename the post type label
  • Option to hide/show meta info (i.e. detached, binned items…etc)
Read all 18 reviews

Contributors & Developers

“Glance That” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Glance That” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

4.1

  • Add link to front-end post archive if it exists
  • Add gt_show_archive filter w/ default true
  • Add some missing notices
  • Add icon support for WP Show Posts
  • Support Ninja Forms

4.0

  • Add gt_option_icons filter
  • Filter out unnecessary types from ACF, WP
  • Add WP user_request CPT w/ request types (export & erasure)
  • Support GravityView icon
  • Add inline applause actions & remove admin notices

3.9

  • Add link to Mine posts list w/ filter
  • Remove obnoxious admin notices

3.8

  • Updating Typewheel notice library

3.7

  • Support Sliced Invoices & Estimates
  • Support ProjectHuddle
  • Add activation notice and tutorial
  • Add delayed notices for review and donation

3.6

  • Fix: Allow sorting on last glance item
  • Readme: Removes documentation of some constants and filters

3.5

  • Fixes bug preventing access to Glance That settings in some browsers.

3.4

  • Allow application of current glance configuration to all existing and new users.
  • Change UI of adding/removing glances
  • Few small bug fixes

3.3

  • Fix layout bug when no posts or no pages.
  • Adds status for available theme updates

3.2

  • Adds gt_labels filter
  • Removes gt_label and gt_label_singular filters
  • Adds support for themes

3.1

  • Allows toggling of status visibility
  • Add glance label filters: gt_glance_label and gt_glance_label_singular
  • Support Give forms as glances
  • Update status links for Gravity Form items

3.0

  • Adds ‘Add New’ icon to items for which content can be created
  • Adds filters for most constants

2.9

  • Adds user favorite plugins glance

2.8

  • Ajaxify the addition & removal of glances
  • Fix for documentation on GT_SHOW_ALL_DASHICONS
  • Adds title attribute to links
  • Minor CSS fix in displaying glances
  • By default, hide statuses with zero count
  • Adds GT_SHOW_ZERO_COUNT_STATUS constant
  • Adds recently activated plugins
  • Adds option to show must-use and drop-in plugins with GT_SHOW_MUSTUSE and GT_SHOW_DROPINS

2.7

  • Supports Formidable Forms
  • Use Gravity Form & Formidable Form icons
  • Possibly fixed an issue with Post State Tags integration

2.6

  • Supports archive post status
  • Integrates with Post State Tags icon selection

2.5

  • Supports new dashicons
  • Adds option to display all dashicons by default

2.4

  • Supports new dashicons in WP 4.3

2.3

  • Allows restriction of the editability of glances

2.2

  • Supports new dashicons

2.1

  • Allows filtering of default glances with gt_default_glances
  • Changes GT_SHOW_ALL to GT_SHOW_ALL_STATUS

2.0

  • Fix for PHP Warning when users meta had not yet been set

1.9

  • Adds support for glancing Gravity Forms
  • Adds move cursor for drag & drop
  • Fix for mismatched icons

1.8

  • Adds sorting via drag & drop!
  • Allows control over native items
  • Allows viewability of items with zero count

1.7

  • Fix for thrown notices in some situations

1.6

  • Adds support for glancing plugins

1.5

  • Fix to highlight pending items

1.4

  • Adds post status viewing
  • Supports additional dashicons
  • Adds dynamic form for add/remove

1.3

  • CSS fix for hidden content in certain instances

1.2

  • Auto-finds icons for registered post types

1.1

  • Readme fix

1.0

  • Initial Release