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

Address Bar Colorizer

外掛說明

Enhance mobile experience of your website by defining a color for status bar and address bar when your website is loaded in Google Chrome web browser on an Android device.

As of now, there are 3 different options available,

  1. Define custom color for each post.
  2. Define custom color for homepage (or the front page).
  3. Sitewide option to use one custom color throughout the website.

Since this is the initial release, I have kept things simple. However, if there are substantial requests for page, category, etc. specific color customization then I would take it forward and implement in upcoming releases!

Note – If you are using some caching mechanism, please clear it if you cannot see color codes being updated. Additionally make sure that you are entering valid hex values.

螢幕擷圖

  • Settings page.
  • Color picker.
  • Post editor widget.
  • Plugin in action!

安裝方式

  1. Install and activate the plugin through the ‘Plugins’ menu in WordPress (a widget will automatically be placed in post editor page).
  2. Custom color for homepage can be defined by to going to Settings -> Address Bar Colorizer.
  3. Custom color for each post can be defined by to post editor and choosing a color.

常見問題集

Does the plugin put extra load on my server?

Simple answer is no. More technical answer is, since the plugin does indeed execute some code and has some if/else to go through, there’s mathematically some time taken. However, the time take is almost negligible. You can use any profiler plugin (P3 Profiler, for example) and how this plugin is performing. In tests performed on my personal websites, the plugin took approximately 0.0018 seconds.

Color codes aren’t being updated!?!

This could be primarily be caused by old cache or invalid hex values. For starters, try clearing the cache (from whichever plugin you are using). The mobile browser cache might also have a role to play in it, so try clearing the Google Chrome mobile browser cache also. Additionally, those using Cloudflare, might need to ‘Purge’ files to get it working. Lastly, ensure that you are indeed entering valid hex color codes.

I cannot see it on desktop, windows phone, iOS, etc.!

That’s how it works. The plugin ONLY applies colorization to Google Chrome mobile web browser running on Android devices. Well, it is tested to work on android devices particularly.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

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

參與者

將〈Address Bar Colorizer〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0

  • Initial release.

1.1

  • New: Lowered minimum WordPress requirement to version 3.5.
  • Fixed: Removed plugin details from header.

1.2

  • Plugin is now compatible with WordPress 4.7.
  • Fixed: Plugin script loading on required pages of Dashboard only.

1.3

  • Plugin is now compatible with WordPress 6.0.1.