[WordPress] 外掛分享: Placeholder it

首頁外掛目錄 › Placeholder it
WordPress 外掛 Placeholder it 的封面圖片
10+
安裝啟用
尚無評分
3569 天前
最後更新
問題解決
WordPress 2.0.2+ v0.9 上架:2016-06-09

內容簡介

這個外掛包含一個小工具,可用於在你還需要進一步開發的小工具區域上顯示占位符。它使用「www.placehold.it」的 Web 服務來生成圖像。

這個外掛非常有用,如果你想要向客戶展示即將到來的網站的佈局,可以使用占位符顯示比例和以文本形式顯示放置位置。

你可以自定義文本和顏色,並可以添加包裝器和包裝器類。設置頁面可以使用你選擇的默認值。

這個外掛要感謝 Tareq Hasan,因為我使用了他的設置類用於設置頁面。
(http://tareq.weDevs.com)

啟用該外掛後,你可以立即開始添加小工具,但你也可以先查看 WordPress 的設置菜單中的外掛選項。

在這裡你可以更改添加新小工具時使用的默認值。但是請記住已設置的任何小工具不會自動獲得您對默認值所做的任何更改。任何更改僅適用於在更改插件的默認值之後配置的小工具。

這個外掛已經開發並在 WordPress 版本4.3.1下進行測試。

其他類別

你還可以在小工具之前和之後添加一些類,以與你自己開發的 CSS 相匹配。

Bootstrap

如果你的網站支持 Bootstrap,你可以在包裝器中使用 Bootstrap 類(例如「col-md-6」)。為了確保占位符完美地填充空間,你應該將尺寸設定得比列更大得多,這樣Bootstrap CSS 才能將占位符放在列中。

你還可以使用「img-responsive」類,以確保占位符能夠可視化縮放。

限制

這個外掛需要互聯網連接。

原始碼作者:Johan van de Merwe

該外掛及其作者與www.placehold.it的開發人員沒有關聯。外掛只能在www.placehold.it Web 服務可用的情況下正常使用。

這個外掛不是什麼

這個外掛只能放置帶有文本或尺寸的占位符,而且沒有貓、狗或披薩的圖像。開發人員沒有任何意圖進一步開發該外掛。此外,這些占位符只用於開發和預覽目的,並不適用於將其保留在您的最終生產網站上,也不能用於代替真實圖像。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.9) 或搜尋安裝

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

原文外掛簡介

This plugin contains a widget that can be used to show placeholders on widget areas where you still have to do some
work. It uses the webservice of “www.placehold.it” to generate the image.
This plugin comes in handy if you have a customer that you would like to show the layout of his upcoming website
and can use placeholders to show him the proportions and with the use of text, what comes where.
You can customize the text and the colors,
and you can add wrappers and wrapper classes. The settings page makes it possible to work with default values of your
own choice.
This plugin owes credits to: Tareq Hasan for I have used his Settings Class for the settings page.
http://tareq.weDevs.com Tareq’s Planet
After the plugin is activated you can start immediattely adding widgets, but you could also have a look first
at the plugin’s options that can be found in the settings menu of WordPress.
Here you can change the defaults that are used when you add a new widgets. But remember that any widgets that are
already set, will not automatically get any changes you’ve made to the defaults. Changes only apply to widgets
configured after you’ve changed the default values of the plugin.
This plugin has been developed and tested with WordPress version 4.3.1
additional classes
You can also add some classes before and after the widget, to match it with your own development CSS.
bootstrap
If your site supports bootstrap, you can use the bootstrap classes in the wrappers (f.e. “col-md-6”). To make sure
that the placeholders are nicely filling the space you should make the dimensions a lot bigger than the size of the
column, bootstrap css will make that the placeholders fit in the columns.
You can use the “img-responsive” class as well to make sure that the placeholder will resize responsively.
Limitations
This plugin requires internet connection
Coding by: Johan van de Merwe
This plugin nor the creator of this plugin is affiliated with the developers of www.placehold.it.
The plugin comes as it is and is depending on the availability of the www.placehold.it webservice.
What this plugin is not
With this plugin you can place placeholders with text or dimensions, that’s it. No images of cats, dogs or pizza’s.
Just boring looking placeholders. The developers have no intention to develop this plugin any further than that.
For placeholder plugins with cats, dogs or pizza’s, you have to look for another plugin. The placeholders in this
plugin are just for development and preview purpose only and are not meant for keeping them on your final production
website, nor can it be used for placeholding in case real images don’t exist.

延伸相關外掛

文章
Filter
Mastodon