WP Manifestindependent plugin directory
manifest / i18n / _bar

_bar WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

Update your site’s core language setting in WordPress via toolbar (aka admin bar).

★ 8stars
0.6latest · 10 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/glueckpress/_bar/archive/refs/heads/master.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Handy toolbar menus for the lazy WordPress developer.

Description

Yet another admin bar menu plugin. This one has modules.

Modules

Site Language

Adds a toolbar menu that enables you to update your site’s main language.

This is not a plugin for multilingual WordPress, translating content and the like! If you’re interested in running a WordPress site in multiple languages, check out MultilingualPress.

Update Site Language Option via toolbar

In order to switch your site’s language, you would usually need to navigate to Settings → General and pick one of your previously installed translations (or a new one even) from the dropdown menu Site Language. After saving your selection, the page would reload and you would see your WordPress back-end UI (and front-end if translations available for your active theme) in said language.

Particularly when working on a translated plugin or theme UI copy navigating to the General Settings page and switch the site language all the time in order to check whether translated strings are correct can become pretty annoying.

This module simply provides a shortcut for all of the above.

After having activated the plugin, you’ll see a new menu item Site Language in your admin bar. Its submenu will list all core translations you have previously installed. (It will not offer you the option to install a new one.)

Clicking on a language link will update the site language option and reload the current page. If you use this in production, be careful: the front-end’s language will be affected as well!

Plugins

Provides simple shortcuts to the plugins page in the back-end, filtered by plugin status. Links open in a new tab/window. Link URLs in the menu read from top to bottom:

  • Plugins: [admin_url]/plugins.php
  • All: [admin_url]/plugins.php?plugin_status=all
  • Inactive: [admin_url]/plugins.php?plugin_status=inactive
  • Recently Active: [admin_url]/plugins.php?plugin_status=recently_activated
  • Update Available: [admin_url]/plugins.php?plugin_status=upgrade

Go to plugins page (filtered by status) via toolbar

Icons

Trims top-level menu items in the toolbar to just display an icon.

Trim top-level menu items in the toolbar to display only icons

Access Keys

Adds a dedicated, visually hidden menu in admin footer. Menu items provide access key support for specific admin pages.

Default keys

  • e - Posts (“edit”)
  • d - Pages (“documents”)
  • p - Plugins
  • m - Media

Sample plugin support for WP Rocket

  • r - Settings (“rocket”)
  • c - Clear cache

Extendable via filter

add_filter( 'bar__accesskeys_menu_items', function ( $menu_items ) {

    // Sample: accesskey for General Settings page.
    $menu_items['sample_menu_item_id'] = array(
        'key' => 'o', // accesskey
        'url' => admin_url( 'options-general.php' ), // admin url
        'label' => __( 'Settings' ), // link text
    );

    return $menu_items;
} );

Languages

  • English (enUS) (default)_
  • German (de_DE)
  • German formal (de_DE_formal)

Installation

Upload

  1. Download the latest tagged archive (choose the “zip” option).
  2. Go to the Plugins → Add New screen and click the Upload tab.
  3. Upload the zipped archive directly.
  4. Go to the Plugins screen and click Activate.

Manual

  1. Download the latest tagged archive (choose the “zip” option).
  2. Unzip the archive.
  3. Copy the folder to your /wp-content/plugins/ directory.
  4. Go to the Plugins screen and click Activate.

Check out the Codex for more information about installing plugins manually.

GitHub Updater Plugin

Install the GitHub Updater Plugin by Andy Fragen in order to be able to update this plugin from your WordPress back-end.

Changelog

0.5

  • module|icons: removed unreliable stylesheet dependency
  • module|icons: added plugin version number to enqueued stylesheet
  • updated translations

0.4

  • added valid README header
  • module|plugins: fixed broken i18n + l10n
  • module|icons: minor css fix

0.3

  • simplified module names and css classes.
  • added trim-to-icon support for existing modules.
  • new module: trim parent menu items to display only a dashicon.
  • added support for GitHub updater plugin by @afragen.

0.2

  • new module: plugins menu.
  • minor enhancements: added settings page url to parent item. mo’ better code styling.

0.1

  • Hello world! My pleasure. :bouquet:

Releases

6 releases.

Tag
Published
0.6 latest
May 13, 2016 10 years ago
0.5
Feb 18, 2016 10 years ago
Aug 20, 2015 11 years ago
Aug 11, 2015 11 years ago
Aug 10, 2015 11 years ago
Aug 6, 2015 11 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

_bar 0.6 · audited by WP Registry

No security issues found.

Audited release
0.6
Findings
none
Worst severity
—
Content hash
5611f814d07897f08c414aad…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.