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

Itm Simple Hide

外掛說明

A simple plugin for wordpress which allows to show some text by clicking on other text in any page or post.
This plugin can be used as an example to create a simle plugin in WordPress that uses Javascript and JQuery from Google CDN
This plugin is available under the GPL license, which means that it’s free.

Example

/* Example copy-and paste this HTML code in any post or page to hide and show some text, images or url

Click here to toggle next DIV

<div class="itm_simple_hidden">Here you may place any HTML text, Url , Video Iframe or  images to hide.</div>   

<div class="itm_simple_all_content">
<div ><strong>Title</strong> or previous text </div> 
<div class="itm_simple_hide">[ - ]</div><div class="itm_simple_show">[ + ]</div>
This content shows at the right side of [ + ] 
<div class="itm_simple_hidden">Here you may place any HTML text, Url , Video Iframe or  images to hide.</div>   
</div>

*/

螢幕擷圖

安裝方式

Just use WordPress installation. Use example code on example.txt

常見問題集

Check help in [aprendebcn.com] (https://aprendebcn.com/wordpress-plugin-itm-simple)

使用者評論

2016 年 9 月 3 日
I’ve looked lots of plugins to hide and show a field of a contact form. This one serve exactly how I want. Plugin works fine with contact form 7.
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

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

對開發相關資訊感興趣?

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

變更記錄

Version 3.4

  • Tested up to 6.0
  • Simplified CSS
  • Improved examples
  • Changed url to [aprendebcn.com] (https://aprendebcn.com/wordpress-plugin-itm-simple)

Version 3.3

  • Tested up to WordPress 5.1.1^
  • Introduced new style for a FAQ like page
  • Added new styles: itm_simple_container, itm_simple_sldtggl, itm_simple_hddn, itm_simple_opened (Keep order in css file of itm_simple_sldtggl::before and itm_simple_opened::before)
  • Updated example

Version 3.2

  • Some changes in plugin file names
  • More code cleaning
  • Minor adjustements in CSS
  • Improved example in html

Version 3.1

  • Tested with WordPress 4.9
  • Cleaned code
  • Added prefix itm-simple or itm_simple

Version 3.0

Tested with WP 4.6 version
Changed file name example.txt to example.html (This way you can see highlighted code)
Minor fixes in explanations example.html
Deprecated old behaviour. Added new behaviour. See example inreadme.txt for example HTML code.

Version 2.0

This plugin contains 4 files
* itm-simple.php register script and uses jQuery from Google’s CDN
* itm-simple.js contains javascript with functionality that hides and shows text, any html links and images
* itm-simple.css contain CSS to change style
* readme.txt contains an example of HTML code that hides and shows text, HTML links and images