內容簡介
這個 WordPress 外掛會在所有 WordPress 圖片周圍包裹額外的標籤,讓您在執行 CSS 時更容易進行佈局控制。所有額外的標籤都是在呈現時添加,這意味著它們不會永久地添加到您的文章中。這樣的好處是,如果您在未來進行重新設計並不再需要這些標籤,它們從來沒有存在過。這適用於所有文章中的圖片,包括過去、現在和未來。
歷史
0.1:第一個基本版本。
1.0:添加了一個正則表達式,確保從 img 到 span 移動類別而不是複製。
外掛標籤
開發者團隊
原文外掛簡介
Wraps all WordPress images in extra spans, to allow for more layout control when you write CSS. All extra spans are added render-time, meaning they aren’t permanently added to your posts. The benefit is, if you redesign in the future and no longer need the tags: they were never there. This applies to images in all your posts, past, present and future.
History
0.1: First basic release.
1.0: Added a regex that makes sure the classes are moved, not copied, from the img to the span.
