[WordPress] 外掛分享: Read More Read Less

首頁外掛目錄 › Read More Read Less
10+
安裝啟用
尚無評分
2838 天前
最後更新
問題解決
WordPress 2.3+ PHP 7.2.5+ v1.0.0 上架:2018-06-10

內容簡介

這款外掛非常簡單輕量,可以幫助您顯示大量數據的一部分,並且可以通過按鈕點擊進行顯示和隱藏。此外,如果該鏈接中有任何URL,則可以跳轉到該頁面。將此代碼放入模板文件中 <label class=”redirectTo” style=”display: none”>在此處,您可以提供想要重定向頁面的鏈接,這是可選的。如果它為空,則“閱讀更多,閱讀更少”功能將運作。</label>,並且在標籤之間設置想要重定向用戶的URL,並使用以下短代碼顯示數據:“[readmoreless maxchar=50]這裡可以放置您的字符串[/readmoreless]”在標籤之間設置您想要顯示的字符串。maxchar是一個變量,您可以在頁面載入時設置要顯示的最大字數。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Read More Read Less」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

So easy and lightweight plugin that helps you to show some portion of large data and show and hide on button click. Also if there is any URL in that link, it will take you there. Place this code in your template file and in the between the tag set the URL you want to redirect the user and use this shortcode to “[readmoreless maxchar=50]Here you can put your string[/readmoreless]” to show the data and in between the tag set the string you want to show. maxchar is the variable where you set the maximum words you want to show when page loads.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon