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

Konami Easter Egg

描述

The Konami Easter Egg plugin lets you add a YouTube video of your choice and a hidden messages to your website. Only people who know the secret code can see your message (unless they are poking around in the source code of your page, that is). By default, the secret code is the classic Konami cheat code (up up down down left right left right b a enter) but you can change it to anything you like. You can also customize the css to change the colors on your hidden page.

This plugin is made possible by George Mandis whose Konami-js code can be found at http://code.google.com/p/konami-js/

螢幕截圖

  • This screenshot shows the "settings" panel for the Easter Egg plugin.

安裝

Installing Konami Easter Egg is very easy and do not require any template modification. Just follow these steps :

  1. Upload the folder ‘easter_egg’ to the ‘/wp-content/plugins/’ directory.

  2. Activate the plugin through the ‘Plugins’ menu in WordPress.

  3. After activating the plugin you should see “Easter Egg” in the sidebar under “Settings.”

  4. *IMPORTANT* Before the easter eggs will appear it is important that you enter the name of the outer most Div tag used in your theme templates. This can be found by viewing the source code of a page on your site. The first Div after the will look something like “

<

div id=”wrapper”>”. Take the name of this div (in this case it would be “wrapper” and enter it in the settings page for the plugin.

  1. Enter the YouTube code of the video you would like to show. Change the “key” if you want a unique key combination to unlock the easter egg. Change the message to say something unique. Customize the CSS to change the appearance of your Easter Egg as desired.

  2. Congratulations, you did it!

常見問題

How do I contact someone about this plugin?

Use the contact form found at http://adrian3.com/contact/.

評價

閱讀全部1個評價

貢獻者及開發者

“Konami Easter Egg” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Konami Easter Egg 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

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