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

Cornify for WordPress

外掛說明

Adds Cornify (cornify.com) to your WordPress. After five seconds of inactivity the site will show unicorns
to the visitor until they interact with the site again. This was developed primarily as an April fools joke.

螢幕擷圖

  • A cornified site

安裝方式

Just activate the plugin and if you don’t interact with your site you should see unicorns. There is no control panel, at least for the moment.
See FAQ for manual options. When you’re done with it and had enough, just deactivate it.

常見問題集

The plugin doesn’t seem to work. Do I need anything special in my theme?

Yes, your theme must have a call to php wp_footer(); ?> at the very bottom right before the “ tag.

Can I change the interval of the unicorns?

Yes, you can change var idol_time = 5000; in js/cornify.js to the number of (milli)seconds you would like before unicorns start showing up.

使用者評論

2016 年 9 月 3 日
Never hurts to engage your visitors in a fun way! See if it has any effect on your bounce rate, or just use it as a prank. 😉
2016 年 9 月 3 日
You put all this hard work into your website. You toil for hours to update your SEO and make sure people can find the valuable information you have to share. You research latest design trends and make your place as hospitable as possible. But then people visit it and don’t pay attention – what the hay?! That’s where the Cornify plugin comes in. People walk through your doors, and if their attention begins to wander, they’re slammed with a sea of unicorns. They have to figure out – “Is it me, or is it my computer?” “What was in my coffee this morning?” It doesn’t stop there. If they keep ignoring your valuable work, all the text turns into Comic Sans, just to make sure they feel the same pain you do. Cornify Plugin – it’s your prerogative.
閱讀全部 4 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

1.3

  • Tested with WordPress 5.3.1
  • Update external call to Cornify.com to use https to avoid mixed content warnings.

1.2

  • Tested with WordPress 4.9 RC2
  • Removed manual if statement in cornify-wordpress.php plugin is now always on. This option may come back as an option.

1.1

  • Added JS to the footer instead of the header
  • Moved JS to a folder instead of in the root
  • Renamed utils.js to cornify.js
  • Use wp_enqueue_scripts instead of template_redirect

1.0

  • Just launched.