Admin Trim Interface
- Author:Scott Reilly
- Version:2.2
- Last update:2010-09-27
- Compatibility:WP 3.1 – 3.3.2
- Comments:go here
- Download:[ zip ]
- Description:
This plugin uses a combination of WordPress hooks, CSS (when possible), and Javascript (last resort) to removed specified admin interface elements. These elements may be considered by some to be superfluous interface elements that are undesired for one reason or another, so this plugin aids in their visual removal.
-
Extended Description
This plugin uses a combination of WordPress hooks, CSS (when possible), and Javascript (last resort) to removed specified admin interface elements. These elements may be considered by some to be superfluous interface elements that are undesired for one reason or another, so this plugin aids in their visual removal.
Each admin interface element is individually selected for removal. The elements that can be removed are:
- The header WordPress logo (note that in WP 3.3. this functions as a menu)
- The “Search Engines Blocked” link (only found in WP 3.0+ and 3.1+)
- The favorites shortcut dropdown (only found in WP 3.0+ and 3.1+)
- The “Howdy,” greeting before your username
- Your username link to your profile
- Your avatar (only found in WP 3.3+)
- The Dashboard link
- The page header icon
- The contextual “Help” link
- The footer links
- The WordPress version in the footer
(There is an associated screenshot which points out these different sections.)
Note: These settings are global and will affect all users who are able to visit the admin pages.
Links: Plugin Homepage | Plugin Directory Page | Author Homepage
Find out more at the plugin’s WordPress Plugin Repository page.
-
Screenshots
Click to see full-size image.
A image indicating the different elements of the admin interface that can be selectively disabled by the plugin (WP 3.3+).
A image indicating the different elements of the admin interface that can be selectively disabled by the plugin (WP 3.2+).
A image indicating the different elements of the admin interface that can be selectively disabled by the plugin (WP 3.0+, 3.1+).
A screenshot of the plugin’s admin settings page.
A screenshot of a fully trimmed admin interface.
Installation
- Unzip
admin-trim-interface.zipinside the/wp-content/plugins/directory for your site (or install via the built-in WordPress plugin installer) - Activate the plugin through the ‘Plugins’ admin menu in WordPress
- Click the plugin’s ‘Settings’ link next to its ‘Deactivate’ link (still on the Plugins page), or click on the Theme -> Admin Trim Interface link, to go to the plugin’s admin settings page. Customize the settings to selectively remove admin interface elements.
- Unzip
Frequently Asked Questions
Q. Does this plugin allow for each admin user to customize the admin interface to their individual liking?
A. No. The settings for the plugin apply to all users within the admin pages and not to each user individually.Q. Why is the admin dashboard still accessible?
A. This plugin does not prevent access to the admin dashboard; it merely provides the ability to hide the admin sidebar menu button that leads to the admin dashboard.
Release Log
2.2
- NOTE: v2.3 will remove support for versions of WP earlier than 3.3
- Add ‘hide_avatar’ setting
- Add hide_help_tabs(), clear_contextual_help(), admin_bar_menu()
- Only add filter on gettext when WP < 3.3
- Reposition legend image via CSS
- Adjust selection logic for legend image (based on new WP version and images being renamed)
- Add new screenshot-1.png for WP 3.3 and rename remaining images with one number higher
- Bugfix: check if ‘hide_favorite_actions’ validly applies to this WP version before using it
- Mark pre-WP3.3 code in anticipation of removal in next feature release
- Update plugin framework to 031
- Remove support for global $c2c_admin_trim_interface variable
- Change parent constructor invocation
- Explicitly declare methods public
- Note compatibility through WP 3.3+
- Drop support for versions of WP older than 3.1
- Create ‘lang’ subdirectory and move .pot file into it
- Regenerate .pot
- Update screenshots for WP 3.3
- Add link to plugin directory page to readme.txt
- Update copyright date (2012)
2.1
- Dynamically number options rather than hardcoding numbers into label
- Change to hide “Howdy” via gettext() translation string modification rather than CSS
- Change method and improve thoroughness of disabling dashboard menu link
- Use filters to disable footer links and WP version
- Show different legend image on settings page depending on what version of WP is in use
- Fix to properly register activation and uninstall hooks
- Update plugin framework to 024
- Save a static version of itself in class variable $instance
- Deprecate use of global variable $c2c_admin_trim_interface to store instance
- Add __construct(), activation(), admin_init(), hide_dashboard(), admin_user_info_links()
- Note compatibility through WP 3.2+
- Drop support for versions of WP older than 3.0
- Update all screenshots
- Display reduced size legend image, make it clickable to view full-size, and add text saying as much
- Explicitly declare functions public
- Regenerate .pot
- Minor code formatting changes (spacing)
- Update copyright date (2011)
- Add plugin homepage and author links in description in readme.txt
2.0.3
- Fix bug related to declaring functions static
2.0.2
- Update plugin framework to version 021
- Explicitly declare all class functions public static
- Delete plugin options upon uninstallation
- Fix to prevent PHP notices for version-dependent options
- Note compatibility through WP 3.1+
- Update copyright date (2011)
2.0.1
- Update plugin framework to version 016
2.0
- Re-implementation by extending C2C_Plugin_014, which among other things adds support for:
- Reset of options to default values
- Better sanitization of input values
- Offload of core/basic functionality to generic plugin framework
- Additional hooks for various stages/places of plugin operation
- Easier localization support
- Full localization support
- Add option to hide “Search Engines Block” link in WP 3.0+
- Don’t show option to hide “Visit site” link if running in WP 3.0+
- Change positioning method for setting page graphic
- Rename class from ‘AdminTrimInterface’ to ‘c2c_AdminTrimInterface’
- Move object instantiation to within the initial if(!class_exists()) check
- Store plugin instance in global variable, $c2c_admin_trim_interface, to allow for external manipulation
- Check for is_admin() before defining class rather than during constructor
- Add PHPDoc documentation
- Add package info to top of plugin file
- Remove docs from top of plugin file (all that and more are in readme.txt)
- Minor code reformatting (spacing)
- Add Upgrade Notice section to readme.txt
- Note compatibility with WP 2.9+ and 3.0+
- Drop compatibility with version of WP older than 2.8
- Update copyright date
- Add .pot file
1.1
- Change CSS selector usage in two places to not rely on text which may get translated (fixes inability to hide username link when translated)
- Fixed so that “|” is properly inserted as separator for upper-right links only when necessary under various visible/hidden combinations
- Hide topmost menu separator when dashboard menu link is hidden
- Fixed hiding of contextual help link
- Added missing c2c_minilogo.png
- Facilitated translation of ‘Save Changes’
- Minor code reformatting (spacing)
1.0
- Initial release
Copyright & Disclaimer
Copyright © 2009-2010 by Scott Reilly (aka coffee2code)Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
