Wider Admin Menu

Mô tả

Wider Admin Menu is a standalone plugin built, maintained & operated by the friendly folks over at MachoThemes.

Wider Admin Menu is a lightweight plugin that lets you set the width of your admin menu from the default 160px up to 300px.

A separate stylesheet is also included if you wish to avoid Yet Another Plugin. See FAQ.

This plugin will leave no trace! If you delete the plugin, all settings will be removed from the database. Guaranteed. However, simply deactivating it will leave your settings in place, as expected.

Ảnh màn hình

  • Before
  • After

Cài đặt

Option A:

  1. Go to Plugins > Add New.
  2. Search for “wider admin menu”.
  3. Click “Install Now”.

Option B:

  1. Download the zip file.
  2. Unzip it on your hard drive.
  3. Upload the wider-admin-menu folder to the /wp-content/plugins/ directory.

Option C:

  1. Download the zip file.
  2. Upload the zip file via Plugins > Add New > Upload.

Finally, activate the plugin.

By default, the plugin will set the width of the admin menu to 200px. Go to Settings > Wider Admin Menu to select a new width.

Hỏi đáp

I don’t need a plugin. Can I just add some code to my stylesheet?

Sure. That’s actually how this plugin started out. If you simply need a wider admin bar and you’re cool with CSS then try this:

Look in the plugin’s /css folder for the file wider-admin-menu.css.

Then either copy its contents to your theme’s stylesheet,

HOẶC

copy the file to your theme folder and add this to your theme’s functions.php to load it:

function wider_admin_menu() {
  wp_enqueue_style( 'wider-admin-menu', get_stylesheet_directory_uri() . '/wider-admin-menu.css' );
}
add_action( 'admin_enqueue_scripts', 'wider_admin_menu' );

That covers WordPress 4.0 and up.

For WordPress 3.8 to 3.9.2, substitute wider-admin-menu-38.css.

For WordPress 3.5 to 3.7.1, substitute wider-admin-menu-35.css.

For WordPress 3.3 to 3.4.2, substitute wider-admin-menu-33.css.

Need a hand? I’m on the support forum.

How can I contribute a translation?

Translate directly on wordpress.org. Thanks!

Leave no trace? What’s that about?

Some plugins and themes don’t fully uninstall everything they installed – things like settings, database tables, subdirectories. That bugs me. Sometimes, it bugs your WordPress too.

So this plugin will completely remove itself upon deletion. Deactivating the plugin will leave the settings intact, though. As an added bonus, you can switch off “Leave No Trace” so the settings remain after deletion, if you want.

Đánh giá

10 Tháng Mười Hai, 2020
After installing, activating, then deactivating and uninstalling this plugin without changing it's settings, the database increased by 0.1 MB! - although the developers wrote that after removing the plugin, nothing remains in the database.
13 Tháng Bảy, 2020
Great helper plugin! I just copied the css to my build system and made the width a scss variable. Fast adjustments! :))
26 Tháng Hai, 2019
Just as I was about to begin delving around in the bowels of my WP, I ran across this simple little plugin. As noted by other reviewers, it is light, clean, and can be used to make changes and then be removed! Odd I have tried several different admin UI plugins that change everything else--but not menu width. This gets the job done quickly and elegantly. Thank you, everyone, on the dev team!
11 Tháng Mười, 2018
Does exactly what it says, no more, no less. Exactly what I was looking for and did not expect to find. Thanks, Chris!
Đọc tất cả 17 đánh giá

Người đóng góp & Lập trình viên

“Wider Admin Menu” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.3.2 – 2019-10-18

  • Fix WP Side Menu going over Gutenberg/Editor

1.3.1 – 2019-09-12

  • Translation ready
  • Created pot file

1.3 – 2018-12-09

  • Updated for WordPress version 5 and Gutenberg editor.

1.2.3 – 2017-11-16

  • Minor refactoring.
  • Removed translation file.

1.2.2 – 2017-09-04

  • Update URLs.

1.2.1 – 2017-04-14

  • Update URLs.

1.2 – 2016-06-24

  • New “Leave No Trace” icon.

1.1.3 – 2016-04-29

1.1.2 – 2015-04-22

  • Fix minor JavaScript bug on Settings page.

1.1.1

  • Remove “RC” from version check.
  • Add uninstall.php.

1.1

  • Updated for WordPress 4.0.

1.0

  • Object-oriented refactor.
  • Improved i18n, ready for translations.

0.3

  • Use PHP version_compare function.
  • Fix footer style for WordPress 3.5 to 3.7.1.
  • Add “Alternate Method” instructions.
  • Use WordPress coding standards.

0.2.3

  • Updated for WordPress 3.8.2.

0.2.2

  • Added empty localization directory.

0.2.1

  • Version bump to trigger update message for anyone who downloaded my svn-fubar.

0.2

  • Moved CSS from style.php to in-page section.

0.1

  • First release.