[WordPress] 外掛分享: Whats This

WordPress 外掛 Whats This 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Whats This」是 2012-01-30 上架。
  • 目前有 10 個安裝啟用數。
  • 上一次更新是 2012-11-27,距離現在已有 4540 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3 以上版本才可以安裝。
  • 有 1 人給過評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

nuvuscripts |

外掛標籤

tooltip | splashbox | information |

內容簡介

WhatsThis Tooltip 外掛程式。對你舊有的提示字彙說再見吧!

查看我們所有的頂級 WordPress 外掛程式和主題:http://nuvuthemes.com

需要 WordPress 3.0+ 和 PHP 5 版本。

輕鬆附加帶有符號的提示字彙
用於顯示解釋你的元素的簡單文本消息或載入複雜內容
從多個預定款式符號中選擇並設定背景動畫顏色
設定提示字彙的載入方向 - "上方"、"左方"、"下方"、"靜態"
從 3 種符號大小 (小型、正常、大型) 中選擇
設置符號的任何特殊字符或字母以使用 (!,@,#,$,%,^,&,*,A,B,C,等)
從多個預設樣式的符號外觀中選擇

查看演示:http://www.nrcstudios.info/wp-whatsthis/

下載安裝支援:http://nrcstudios.info/index.php/whatsthis-plugin

2012 年 4 月 5 日主要更新:2.0 現在的提示字彙外掛程式會在滑鼠移出提示字彙方塊後隱藏提示字彙方塊,而不是提示字彙觸發器。這允許您添加用戶可以與之交互的連結和元素,同時仍保持提示字彙方塊打開。
如果您的觸發器靠近邊緣,提示字彙方塊會調整適合屏幕內。

2012 年 2 月 7 日-關鍵更新: 修復腳本連結問題。

更新於 2012 年 3 月 5 日:jQuery 腳本載入方式已更改以解決套件衝突問題。
更新於 2012 年 4 月 4 日:提示字彙方塊現在會在觸發元素大於 50% 文檔屏幕寬度時載入於左側。
更新於 2012 年 4 月 17 日:新增功能 ― 自我觸發選項可在圖像和容器元素上觸發提示字彙,而不必添加觸發器。

任意部分
在套件之前載入 jQuery

將 jQuery 引入你的主題的正確方式是在所有外掛程式之前載入它。儘管如此,要知道外掛程式會分開載入 jQuery,以防止您的主題未設置載入 jQuery 的情況。若要從主題中載入 jQuery,請對主題和外掛程式文件進行以下更改。

步驟一:打開您的主題 functions.php 文件,並在頁面上的任何位置添加以下代碼:
if(!is_admin()) {
wp_deregister_script('jquery');
wp_register_script('jquery', ('http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js'), false, '1.7.1');
wp_enqueue_script('jquery');
}

步驟二:打開 whatsthis.php 文件,並在第 21 行的 echo script 行之前添加兩個反斜杠進行註解或刪除它 ("//"))

// echo " " ;

*步驟三:將保存的文件上傳到您的伺服器。

這將在主題載入任何外掛程式之前將 jQuery 引入您的主題,從而消除每個外掛程式載入 jQuery 的需要。
當每個外掛程式在頁面上載入不同版本的 jQuery 時,這會創建兼容性問題並導致您的外掛程式無法正常工作。我強烈建議 FlickrShow 的使用者使用這種方法在頁面上包含 jQuery。

原文外掛簡介

WhatsThis Tooltip plugin. Kiss your old tooltip goodbye!
View all our premium WordPress Plugins and Themes: http://nuvuthemes.com
Requires WordPress 3.0+ and PHP 5.

Easily attach a tooltip with symbol
Use to display simple text messages explaining your elements or load complex content
Choose from many prestyled symbols and set background animation color
Set tooltip loading direction – “top”, “left”, “bottom”, “static”
Choose from 3 symbol sizes(small, normal, large).
Set any special character or letter for the symbol to be used (!,@,#,$,%,^,&,*,A,B,C, etc)
Choose from many pre-styled symbol looks

View Demo: http://www.nrcstudios.info/wp-whatsthis/
Download with installation support: http://nrcstudios.info/index.php/whatsthis-plugin
4-5-2012 Major Update: 2.0 The tooltip plugin now hides the tooltip box when mouseout of the tooltip box instead of the tooltip trigger. This allows you to add links and elements that the user can interact with while keeping the tooltip box open.
The tooltip box adjusts the fit inside the screen if your triggers are close to the edge.
2/7/2012 – Critical update: Fixed script linking issues.
Update 3-5-2012: jQuery script loading changed to fix conflict issues.
Update 4-4-2012: Tooltip box now loads to the left of trigger elements that are greater then 50% document screen width.
Update 4-17-2012: Feature added – self trigger for triggering the tooltip on image and contianer elements instead of adding the trigger.
Arbitrary section
Loading jQuery before plugins
The correct way to load jQuery into your theme is to load it prior to all plugins being loaded. Having said this know that the plugin loads jQuery seperately in case your theme is not set to load jQuery. To load jQuery from the theme instead of the plugin do the following changes to your theme and plugin files.
Step One: Open your themes functions.php file and add the following code anywhere on the page:
if( !is_admin()){
wp_deregister_script(‘jquery’);
wp_register_script(‘jquery’, (“http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js”), false, ‘1.7.1’);
wp_enqueue_script(‘jquery’);
}
Step Two: Open the whatsthis.php file and comment out or delete the echo script line on line 21 by adding two backslashes before it (“//”))
// echo “ ” ;
*Step Three: Upload the saved files to your server.
This will load jQuery into your theme before any plugins get loaded on the page thus eliminating the need for each plugin to load jQuery.
When each plugin loads different versions of jQuery on the page this creates compatability issues and will cause your plugins to not work correctly. I seriously suggest the users of FlickrShow to use this method of including jQuery on the page.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Whats This」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


最新版本

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon