這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Menu Badger

外掛說明

This is a simple plugin to add a badge to your menu. If you create a new page or feature on your website you can easily add a badge or button over top that says new, has a number like with apple notifications, or upload your own.

If you have any features you would like added to the next version or encounter any bugs please contact me.

Coming Soon Features

  • Create Outline around menu item
  • Add unlimited badges to your menu
  • Better Sub-menu functionality

螢幕擷圖

  • This is the configuration screen for the plugin. With these options selected your plugin will appear as the second screen shot does. You can adjust any of these or upload your own image.
  • This shows that you selected the iOS style badge 1 for your sample page and have chosen to display it small. The adjust badge location numbers have aligned it properly. You will need to adjust your badges based on your theme and visual preferences.

安裝方式

  1. Upload the plugin directory ‘menu-badge’ to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress
  3. Use the side bar item called Menu Badge to configure the plugin.

常見問題集

Can I use my own image?

Yes you can, there is a feature to upload your own image.

What type of image does it need to be, are they any specifications?

Use a png with a clear background so that it appears as a button and not a square box.
Also you will want to keep the file size to 500-150px to save on load time.

Can you make this work with my theme?

In some instances people write code for their theme in a non standard way that causes the badges to appear wrong or not at all. If this is the case please email me and I will look at your site and patch the plugin to work. It currently works on 90%+ of sites tested.

使用者評論

2020 年 7 月 8 日
This is one of the best plugins I've installed. I don't care whether it's been officially tested with my version of WP or not, it works flawlessly straight out of the box. * The supplied badges look great but you can also use your own. * You can position the badge exactly where you want it relative to the decorated menu item. * You can enable and disable it in 5 seconds without losing settings. Go, get, have! 🙂
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Menu Badger〉的開發相關工作。

參與者

將〈Menu Badger〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.5

  • Cleaned up JavaScript a little, more coming
  • Added a check for buttons with class instead of ID for identifier

1.0.4

  • Changed onclick menu locator to setInterval for sub menu items

1.0.3

  • Menu item list wasn’t pulling menus properly, now makes list of all menus
  • version 1.0.1 and 1.0.2 we commit issues, no update

1.0

  • Initial launch of plugin
  • Add badges to you menu
  • Upload your own image to use as a badge
  • Choose size of your image
  • Align the image vertically and horizontally based on your needs