前言介紹
- 這款 WordPress 外掛「HandL Hide Content」是 2016-02-18 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2024-07-18,距離現在已有 289 天。
- 尚未有人給過這款外掛評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
GET | hide | show | handl | content |
內容簡介
透過這個簡單卻實用的外掛,您可以創建自己的規則,以隱藏 WP 文章或頁面中的內容。
使用起來非常簡單:
如果您只想在 foo=bar 時隱藏您的內容。請使用以下內容:
[HandL_HIDE foo=bar]
您的豐富內容在這裡,您可以包含任何東西:文字、圖片甚至視頻(嵌入)。
[/HandL_HIDE]
上面的示例內容只會在以下 URL 中隱藏
http://yourdomain.com/?foo=bar
http://yourdomain.com/?foo=bar&anotherfoo=anotherbar 等等..
上面的示例內容不會在以下 URL 中隱藏
http://yourdomain.com/?foo=otherbar
http://yourdomain.com/?foo= 等等..
同樣地,如果您只想在 foo=bar 時顯示您的內容。請使用以下內容:
[HandL_SHOW foo=bar]
您的豐富內容在這裡,您可以包含任何東西:文字、圖片甚至視頻(嵌入)。
[/HandL_SHOW]
上面的示例內容只會在以下 URL 中顯示
http://yourdomain.com/?foo=bar
http://yourdomain.com/?foo=bar&anotherfoo=anotherbar 等等..
上面的示例內容不會在以下 URL 中顯示
http://yourdomain.com/?foo=otherbar
http://yourdomain.com/?foo= 等等..
您也可以在邏輯中使用 OR 語句。例如
如果您想在 foo=bar1 或 foo=bar2 時顯示內容,只需使用
[HandL_SHOW foo="bar1||bar2"]
隱藏縮略語的工作方式也很類似
[HandL_HIDE foo="bar1||bar2"]
您也可以在 Optimize Press 中使用縮略語,使用方式在截圖部分顯示。
原文外掛簡介
With this very simple yet useful plugin, you can create your own rule for hiding content in your WP post or page.
Usage is very simple:
if you want to hide your content ONLY when foo=bar. Use the following.
[HandL_HIDE foo=bar]
Your rich content goes here. You can include anything: text, image and yes even videos (embed).
[/HandL_HIDE]
The example content above will only be HIDDEN for the following URLS
http://yourdomain.com/?foo=bar
http://yourdomain.com/?foo=bar&anotherfoo=anotherbar etc..
The example content above will NOT be hidden for the following URLS
http://yourdomain.com/?foo=otherbar
http://yourdomain.com/?foo= etc..
Similarly if you want to show your content ONLY when foo=bar. Use the following.
[HandL_SHOW foo=bar]
Your rich content goes here. You can include anything: text, image and yes even videos (embed).
[/HandL_SHOW]
The example content above will only be SHOWED for the following URLS
http://yourdomain.com/?foo=bar
http://yourdomain.com/?foo=bar&anotherfoo=anotherbar etc..
The example content above will NOT be visible for the following URLS
http://yourdomain.com/?foo=otherbar
http://yourdomain.com/?foo= etc..
You can also use OR statement in your logic. For example
if you want to show the content when foo=bar1 OR foo=bar2, simply use
[HandL_SHOW foo="bar1||bar2"]
hide shortcode works similar way as well
[HandL_HIDE foo="bar1||bar2"]
You can use the shortcode in Optimize Press as well. Usage is shown in screenshot section.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「HandL Hide Content」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
HandL YouTube Extra 》, HandL YouTube Extra 的主要功能包括:, , 在引導頁面上嵌入多個 YouTube 影片(可以進行全面的個別追蹤), 獲取實時統計數據(電子郵件、觀看秒數、用戶離...。