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