內容簡介
這個外掛包含兩個檔案:print-css.php 是外掛主要檔案,print.css 則是樣式表的範例。
如果你的佈景主題使用 wp_head() 函數/掛勾,外掛會在主題標頭中加入列印樣式表的連結。
此外,外掛也會在「演示文稿」選單中新增管理面板。如果你有讀寫權限,就可以透過這個面版來編輯樣式表。
你可能會想要根據自己的喜好來編輯樣式表,不過如果你的佈景主題是建立在 Sandbox 上的話,它應該已經幫你處理好大部分的設定。
如果你有任何想要改進或優化的建議,歡迎聯繫作者。
這個外掛會使用樣式表來印出你的網站頁面,而不是一般的螢幕樣式表。
未來發展
作者希望能夠設計出一個完整且多功能的列印樣式表,為各種佈景主題提供更好的支援以達成最佳排版效果。如果你有能力提供任何幫助,歡迎與作者聯繫。
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
The plugin contains two files. print-css.php, which is the plugin file itself, and print.css, a sample print stylesheet.
A link to the print stylesheet will be placed in your theme’s header, providing it uses the wp_head() function/hook.
An admin panel is added to the Presentations menu and it will allow you to edit the stylesheet if you make print.css writeable.
You probably want to edit the stylesheet provided to your liking, though it will hopefully do most of the job if your theme is sandbox-based.
I’m happy to include any improvements to the print stylesheet.
The print stylesheet will be used to print your blog pages, instead of the normal screen stylesheet.
Future Development
I’d love to be able to include a complete and rich print stylesheet. One that deals well with most major themes, and which actually does take some care to get the typography right. Get in touch if you feel you can help.
