內容簡介
Shortcodify 是一個能夠為您的網誌添加有用的 Shortcodes(短碼)的外掛程式。
Shortcodes 是一些可以用在您的文字區域 / tiny / rte 區域的小片段,它們會在網頁的實際顯示版本中被替換為其他東西。
這個外掛程式的一個例子是 [date],當您在 tiny 中使用它時,在實際顯示版本中,您可以看到當天的日期。
但是 Shortcodify 還可以做更多的事情。
如果您需要的話,Shortcodify 可以在其中創建一個新的小工具區域,您可以使用 [widget] 短碼來使用。
以下是一些可能使用的短碼:
[wsc class=myCustomClass] 文字 [/wsc] – 用於個別的 CSS 類別
[unshortcode] 文字 [/unshortcode] – 忽略此短碼內部的其他短碼
[br] – 添加一個換行符號(具有清除效果)
[hr] – 添加一條水平線
[date] – 插入當前日期
[time] – 插入當前時間
[widget] – 插入 “Shortcodify” 小工具區域的內容
[random] 文字1 文字2 [/random] – 隨機返回其中一個區域(以換行符號或其他方式分隔)
[menu] – 添加一個新的菜單到 WordPress 的導航菜單中。此短碼將內容插入到網站地圖或網站清單頁面中。
[accordion] – 將 jQueryIU 手風琴添加到網頁中
[section] – 為手風琴添加一個部分。請在 [accordion] 短碼內使用。
<video> – 將一個影片內嵌到網頁中。您可以設置高度和寬度作為屬性:
[tabs][tab name=One]內容1[/tab][tab name=Two]內容2[/tab][/tabs] – 創建一個包含多個標籤的標籤元素。
還有一些有用的短碼
您還需要其他有用的短碼嗎?
請發送請求給我們!
版本:1.4.3
外掛標籤
開發者團隊
原文外掛簡介
Shortcodify adds some useful Shortcodes to your blog.
Shortcodes are small snippetts use in your textfield / tiny / rte field. In the live version of the page they will be replaced with something different.
One example for a shortcode of this plugin is [date] when you use it the tiny, in the live version you can see the actual Date.
But Shortcodify does more.
If you want to, Shortcodify creates a new widget area in, that you can use with the [widget] shortcode.
See some possible shortcodes below:
[wsc class=myCustomClass] TEXT [/wsc] – for individual CSS-classes
[unshortcode] TEXT [/unshortcode] – other shortcodes in this shortcode will be ignored
[br] – adds a linebreak (with clearing)
[hr] – adds a horizontal line
[date] – inserts the actual date
[time] – inserts the actual time
[widget] – inserts the content of the “Shortcodify” widget area
[random] Text1 Text2 [/random] – returns only one of included areas (seperated by linebreak or whatever)
[menu] – adds a new menu to the nav-menus of WordPress. This shortcode inserts the content to the page for sitemaps or sitelist.
[accordion] – adds a jQueryIU accordion to the page
[section] – adds a section to the accordion. Use it inside the [accordion] shortcode.
– adds a video to the page. You can set the height and width as attribute:
[tabs][tab name=One]Content 1[/tab][tab name=Two]Content 2[/tab][/tabs] – Creates a Tab element with multiple tabs inside.
A few more useful shortcodes
Is a useful shortcode missing?
Please send me a request!
Version: 1.4.3
