[WordPress] 外掛分享: My Own Theme

首頁外掛目錄 › My Own Theme
10+
安裝啟用
尚無評分
6564 天前
最後更新
問題解決
WordPress 2.1+ v1.2 上架:2008-03-27

內容簡介

使用 jQuery 在 WordPress 上進行極端的主題自訂。

您可以在 My Own Theme 中自由編輯,分別在管理者視圖和使用者視圖之間明確區分。

只需要添加一些 jQuery (JavaScript) 片段即可。

例子

您可以在安裝後嘗試複製並貼上以下 jQuery 片段。

使用者視圖:如何突顯您的評論(假設您的顯示名稱是 admin)

$( 'cite:contains(admin)', '.commentlist' ) .parent() .css( {border: '1px dashed red', padding: '3px'} );

管理者視圖:如何隱藏面板 Other WordPress News

$( '#planetnews' ).hide();

外掛標籤

開發者團隊

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

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

原文外掛簡介

Extreme theme customization for WordPress with jQuery.
You can edit My Own Theme at will, in two clearly delimited areas, one for the ADMIN VIEW and one for the USERS VIEW.
It’s just a matter of adding some jQuery (JavaScript) snippets.
Examples
You can try to copy and paste the following jQuery snippets, after the installation.
USER VIEW: How to highlight your comments (supposing your display name is admin)
$( 'cite:contains(admin)', '.commentlist' ) .parent() .css( {border: '1px dashed red', padding: '3px'} );
ADMIN VIEW: How to hide the panel Other WordPress News
$( '#planetnews' ).hide();

延伸相關外掛

文章
Filter
Mastodon