內容簡介
目前此外掛程式非常基本但功能正常。您可以在主題檔案的迴圈或任何其他地方使用此函數。請查看常見問題及解答,也可以查看程式碼使用其他功能。
骨架: $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" />
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
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:
Example: $url2png->getScreenshot('www.bondero.com', 300, 300, true, 'alignleft')
// Result:
