
內容簡介
如果處理主題樣式成為一大麻煩,Style Buddy 能讓編輯 WordPress 網站輕鬆自如!
當啟用這個外掛時,每個頁面、文章和其他 WordPress 自訂文章類型都會使用 metaboxes,可讓你僅針對該特定項目加入自訂 JavaScript 和 CSS。假設你想將首頁的背景顏色改為黑色,但仍希望所有其他頁面的背景顏色為白色,有了 Style Buddy,你只需要編輯首頁並加入類似 body{background-color:black;} 的指令,這樣只有你的首頁背景顏色會更改。
加入 JavaScript 也同樣簡單,只需要選擇你需要的頁面或文章,加入你的 JavaScript 到 metabox 中即可。
渴望使用 Style Buddy 的語法突出顯示?你可以在 WP Overnight 購買 Style Buddy Pro 來實現。
外掛標籤
開發者團隊
原文外掛簡介
Dealing with theme styles can be a hassle, but Style Buddy makes editing your WordPress site a breeze!
When the plugin is activated each page, post (and every other WordPress custom post type) gets metaboxes that allow you to add custom javascript and css to only that particular item. Let’s say you want to change the background color of your home page to black, but still want all your other pages to have a white background. With Style Buddy you just edit your homepage and add a command like body{background-color:black;} and only your home page background color will be changed.
Javascript is just as easy. Simply select the page or post you want, add your javascript to the specified metabox and you’re ready to go!
Want syntax highlighting for Style Buddy? Get it from WP Overnight.
