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

Farticles

外掛說明

Farticles makes your WordPress site fart when a page is scrolled.

Now with added backend and login farts

Important

After installing, you will need to visit your general options page to set where you would like to fart.

  • Frontend Farts
  • Backend Farts
  • Login Farts

Use with care as websites playing any kind of audio without a warning or permission from the user are generally obnoxious and annoying.

This plugin uses the fartscroll.js script from the onion

螢幕擷圖

  • Options are set in Settings -> General

安裝方式

  1. Upload the ‘Farticles’ folder to the ‘/wp-content/plugins/’ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Visit settings -> general and set where your would like your farts to appear

常見問題集

Why doesn’t it work?

It does. You probably didn’t notice the instruction that you need to visit your general options page to set where you would like your farts.

What is fartscroll.js?

The fartscroll.js script came from the the onion
More info

Whats with the base 64 stuff in the js file?

That is the MP3 & ogg audio

It doesn’t work on my iPad / iPhone

The fartscroll.js script could possibly be modified to replace the .scroll() function with a touchend event listener when an iPad is used. I probably won’t be looking at doing this anytime soon, so the plugin will not have any effect on apple iDevices unless someone really needs this and is able to sponsor the development of a new version.

The github page shows how to configure the number of pixels scrolled before a fart, so where are the settings?

The value is set to 400px by default. I might add a config page for selecting a value for the interval, but the default setting seems okay to me

I want my admin area and/or login page to fart as well

This has been added in version 1.1.0+

使用者評論

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

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.2.1

  • bugfix – fatal error on activation!

1.2.0

  • fixed idevice detection

1.1.0

  • Section added to general settings to enable frontend, backend and login farts

1.0.1

  • Prevent the plugin scripts being added on iPad/iPhone/iPod. As the .scroll() function is used, iDevices will not trigger the farts, but in some themes the plugin caused an white div to appear under the footer.

1.0.0

  • Initial Version