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

The Simplest Favicon

外掛說明

This plugin adds a favicon link to the document head section.

There are no options. The link is always added when the plugin is enabled.

The favicon.ico file needs to be uploaded to the site’s root
directory. If you do not know how to do this, you should have a look at
one of the other favicon plugins.

安裝方式

This section describes how to install the plugin and get it working.

  1. Upload the favicon.ico file to your site’s root directory.
  2. Make sure that the favicon file is accessible with web browser or
    wget/curl at http://yoursite.example.com/favicon.ico
  3. Make sure that the favicon file is served with the “image/x-icon”
    content type to ensure maximum compatibility. An easy way to verify
    this is to run: curl -I http://yoursite.example.com/favicon.ico
  4. Upload the-simplest-favicon.php to the /wp-content/plugins/ directory.
  5. Activate the plugin through the ‘Plugins’ menu in WordPress.

常見問題集

Why do I need to place the favicon file in the site root?

The site root directory is the best place for the favicon file.

Some older browsers and most feed readers have no way of specifying
the favicon file location in the document or feed markup. They always
attempt to retrieve it from the site’s root directory.

My browser finds the favicon automatically even without this plugin?

Most browsers look up the favicon file in the default location
automatically, but some do not. They need to be told where it is
located and this is what this plugin does.

Wouldn’t it be easier just to edit my theme’s header.php and add the favicon link there?

Up to you. Choose whatever way is easiest for you.

If you edit the theme’s header.php you will need to make the same
changes again if you later on update or change your theme. With this plugin
you do not need to remember to do that and upgrading becomes simple.

My theme already specifies the location of the favicon?

In this case you probably do not need this plugin. It might be still
best to put the favicon.ico file in your site’s root directory.

I am unsure how to create the favicon.ico file?

This is well documented elsewhere. A good place to start is
to understand Wikipedia article on favicon.

使用者評論

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

參與者及開發者

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

參與者

將〈The Simplest Favicon〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

  • Use get_site_url() instead of get_home_url() to get the real site root.

1.0

  • Initial version.