前言介紹
- 這款 WordPress 外掛「Lorem ipsum dummy article shortcode」是 2015-01-23 上架。
- 目前有 10 個安裝啟用數。
- 上一次更新是 2015-01-24,距離現在已有 3753 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 2.8.6 以上版本才可以安裝。
- 有 2 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
sjeiti |
外掛標籤
dummy html | dummy text | dummy image | lorem ipsum | dummy article |
內容簡介
這個短代碼外掛程式不僅僅是產生假文本,而是試圖模擬 WordPress 頁面或文章在現實生活中的樣子,包括段落、逗號、標題、超連結和圖像。輸出可以通過短代碼屬性輕鬆調整。
生成的代碼也是種子式的,這意味著在「page-x」上的假 HTML 總是看起來一樣(除非您指定自己的種子)。
此外掛還添加了短碼過濾器到標題,因此您也可以在文章標題中使用 [lll h]。
短碼屬性
您可以添加以下屬性來調整短碼。一些屬性具有快速使用的單個字符別名。
paragraph(別名為p):段落數。默認為12。
sentence(別名為s):每段落句子數。默認為5。
word(別名為w):每句話的詞數。默認為12。
header(別名為h):表示標題。如果設置了該屬性,其他屬性將被忽略。默認為空。
seed:用於生成文章的隨機種子。默認為文章 ID。
deviation:用於確定段落數、句子數和字數的隨機偏差。默認為0.5。
用法
要使用短碼,只需將 [lll] 添加到文章或頁面中。
屬性使用方法如下: [lll p=8 seed=76432]。
當用作文章標題時,請確保添加「header」屬性:[lll h]。
版本控制和問題
此插件的主要 CVS 存儲庫位於 Github 上。WordPress 上的版本是主要標籤的精簡版本。
如果您有任何問題或建議,請將它們放在 Github 上。
原文外掛簡介
This shortcode plugin does not simply generate dummy text but tries to mimic what a WordPress page or post might look like in real life. This includes paragraphs, commas, headings, hyperlinks and images. The output is easily adjustable through the shortcode attributes.
The generated code is also seeded, meaning that the dummy html on page-x will always look the same (unless you specify your own seed).
The plugin also adds the shortcode filter to the title, so you can also use [lll h] in your post title.
Shortcode attributes
You can adjust the shortcode by adding the following attributes. Some attributes have a single character alias for quick use.
paragraph (alias p): Number of paragraphs. Defaults to 12.
sentence (alias s): Number of sentences per paragraph. Defaults to 5.
word (alias w): Number of words per sentence. Defaults to 12.
header (alias h): Indicates a header. If attribute is set the other attributes will be ignored. Defaults to null.
seed: The random seed used for generating the article. Defaults to the post ID.
deviation: The random deviation used to determine the number of paragraphs, sentences and words. Defaults to 0.5.
Usage
To use the shortcode simply add [lll] to a post or page.
Attributes are used like so; [lll p=8 seed=76432].
When used as a post title make sure to add the ‘header’ attribute; [lll h].
Versioning and issues
The main CVS repo for this plugin is on Github. The version up on WordPress is a distilled build of the major tags.
If you have any issues or suggestions please put them on Github.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Lorem ipsum dummy article shortcode」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0.5 |
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。