內容簡介
StudioPress Metro 主題使用主題的 functions.php 檔案中的過濾器向小工具標題添加 span 標籤和類別,然後使用 CSS 設計該類別的樣式。不幸的是,此方法不與在小工具標題中逸出 HTML 的外掛相容。
Metro Theme Widget Titles 移除了預設的 Metro Widget 標題過濾器,並使用與外掛相容的過濾器替換它。
於版本 0.2 中新增。
如果您已將原始的 Metro 主題更新為 HTML5,此外掛將恢復評論表單中「留下回覆」標題的外觀。它還可能還原您對該文本所做的任何更改。如果是,您可以在外掛的過濾器中編輯文本、接受更改或停用外掛。
如果您使用 Metro Pro 主題,此外掛將恢復您的小工具標題、評論標題和「留下回覆」標題的舊版 Metro 主題外觀。
此外掛適用於使用 Genesis 框架以及專門設計為 StudioPress Metro 主題的網站。
外掛標籤
開發者團隊
原文外掛簡介
The StudioPress Metro theme adds a span tag and class to widget titles using a filter in the theme’s functions.php file, and then styles that class with CSS. Unfortunately this method is not compatible with plugins that escape html in widget titles.
Metro Theme Widget Titles removes the default Metro widget title filter and replaces it with a filter that is compatible with plugins.
Added in version 0.2
If you’ve updated the original Metro theme to HTML5 this plugin will restore the look of the “Leave a Reply” title in the comment form. It may also undo any change you’ve made to that text. If it does, you can edit the text in the plugin’s filter, live with the change, or deactivate the plugin.
If you are using the Metro Pro theme, this plugin will restore the look of your widget titles, comments title, and “Leave a Reply” title to the old Metro theme look.
This plugin is intended for websites using the Genesis framework, and specifically the StudioPress Metro theme
