[WordPress] 外掛分享: URL2PNG Screenshots

首頁外掛目錄 › URL2PNG Screenshots
10+
安裝啟用
尚無評分
4439 天前
最後更新
問題解決
WordPress 3.2.1+ v1.0.1 上架:2012-01-02

內容簡介

目前此外掛程式非常基本但功能正常。您可以在主題檔案的迴圈或任何其他地方使用此函數。請查看常見問題及解答,也可以查看程式碼使用其他功能。

骨架: $url2png->getScreenshot('網站 URL', 寬度, 高度, 圖像標籤, 類別)

範例: $url2png->getScreenshot('www.bondero.com', 300, 300)
// 結果: http://www.example.com/wp-content/screenshots/...

範例: $url2png->getScreenshot('www.bondero.com', 300, 300, true)
// 結果: <img src="http://example.com/wp-content/screenshots/.…" alt="Website URL" class="" width="300" />

範例: $url2png->getScreenshot('www.bondero.com', 300, 300, true, 'alignleft')
// 結果: <img src="http://example.com/wp-content/screenshots/.…" alt="Website URL" class="alignleft" width="300" />

外掛標籤

開發者團隊

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

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

原文外掛簡介

For now the plugin is very basic but functional. Use this function within your theme files, inside loops or any other place in your code. Check out the FAQ. You can also use other functions of the plugin, just have a look at the code.
Skeleton: $url2png->getScreenshot('Website URL', WIDTH, HEIGHT, IMAGETAG, CLASS)
Example: $url2png->getScreenshot('www.bondero.com', 300, 300)
// Result: http://www.example.com/wp-content/screenshots/...
Example: $url2png->getScreenshot('www.bondero.com', 300, 300, true)
// Result: Website URL
Example: $url2png->getScreenshot('www.bondero.com', 300, 300, true, 'alignleft')
// Result: Website URL

延伸相關外掛

文章
Filter
Apply Filters
Mastodon