
內容簡介
這款外掛可以讓您在 WordPress 網站中添加自訂全站 CSS 樣式和 JavaScript 代碼,有助於覆蓋佈景主題樣式和添加客戶端功能。功能包括:
代碼編輯器,帶有語法突出顯示和 AJAX 自動保存功能,避免每次保存都要重新載入編輯器。
以草稿形式保存和預覽 CSS 和 JavaScript,只應用於擁有必要權限的登錄使用者,直到您準備將更改發布至公共網站。
查看和還原您的 CSS 和 JavaScript 過去版本。
自動壓縮自訂 CSS 和 JavaScript 代碼以減少文件大小。
對於公共網站,自訂 CSS 和 JavaScript 代碼是從文件系統而不是從數據庫中提供的,以實現最佳性能。
現在還推出了 Custom CSS and JavaScript Developer Edition,它有以下功能:
將 CSS 和 JavaScript 分成多個虛擬文件以保持代碼有組織(為了效率,仍將代碼作為一個 CSS 文件和一個 JS 文件提供到前端)。
支援 Sassy CSS (SCSS)!
CSS 的即時預覽功能!
可以上傳和下載 CSS 和 JavaScript 文件,可以逐個或批量下載 ZIP 文件。
在 WordPress 管理員的編輯器頁面中移除開發者標誌以及評論/捐贈連結。
按此購買! 或者您也可以手動上傳外掛至 wp-content/plugins 目錄。如果您喜歡此外掛,請考慮留下評論或評價。
您可能還喜歡這些外掛
WP Zone 已經開發出許多外掛、附屬程式和主題。在存儲庫中查看其他喜愛的外掛,並不要忘記留下五星評論幫助其他社群成員決定。
Product Sales Report for WooCommerce – 設置面向 WooCommerce 商店中產品的自定義銷售報告,具有切換排序選項。根據日期範圍、銷售狀態、產品類別和 ID 包含或排除項目,定義顯示順序,選擇要包含的字段,並使用一個點擊生成報告。
Export Order Items for WooCommerce – 導出 WooCommerce 商店中每筆銷售的訂單詳細信息。簡化訂單履行,幾個點擊內即可生成會計報告,並下載 CSV 格式以便閱讀和與其他軟件兼容。
Replace Image – 在上傳到 WordPress 媒體庫時保留相同 URL
Force Update Check for Plugins and Themes – 每當您訪問 WordPress 更新頁面時,該插件都會強制 WordPress 執行主題和插件更新檢查
Connect SendGrid for Emails – Connect SendGrid for Emails 是官方 SendGrid 插件的第三方分支,是它的替代品。
Custom CSS and JavaScript – 在全站上編輯自訂 CSS 和 JavaScript 代碼
外掛標籤
開發者團隊
📦 歷史版本下載
原文外掛簡介
This plugin allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality.
Features:
Code editor with syntax highlighting and AJAX saving to avoid reloading the editor at each save.
Save and preview your CSS and JavaScript as a draft that is only applied to logged-in users with the necessary permissions until you are ready to publish your changes to the public.
View and restore past revisions of your CSS and JavaScript.
Automatically minify your custom CSS and JavaScript code to reduce file size.
For the public, custom CSS and JavaScript code is served from the filesystem instead of the database for optimal performance.
Now available! Custom CSS and JavaScript Developer Edition:
Divide your CSS and JavaScript into multiple virtual files to keep your code organized (the code is still served as one CSS and one JS file on the front-end for efficiency).
Supports Sassy CSS (SCSS)!
Live preview for CSS!
Upload and download CSS and JavaScript files, individually or in ZIP files.
The developer logo and review/donation links are removed from the editor page in the WordPress admin.
Click here to purchase!
Alternatively, you can manually upload the plugin to your wp-content/plugins directory.
If you like this plugin, please consider leaving a comment or review.
User Access Control
In the Custom CSS and JavaScript WordPress plugin, access to plugin features is determined by user capabilities. Users with the edit_theme_options capability will enjoy full access to all the plugin’s features.
By default, the “Administrator” and “Editor” roles come equipped with the edit_theme_options capability. However, site administrators have the flexibility to customize these capabilities and assign them to other roles or individual users through plugins or custom code.
Furthermore, to provide users with enhanced control, we’ve introduced a custom capability known as wpz_custom_css_js. Users possessing both the wpz_custom_css_js and edit_posts capabilities can be granted access to the plugin’s features.
You may also like these plugins
WP Zone has built a bunch of plugins, add-ons, and themes. Check out other favorites here on the repository and don’t forget to leave a 5-star review to help others in the community decide.
Product Sales Report for WooCommerce – set up a custom sales report for the products in your WooCommerce store with toggle sorting options. Including or excluding items based on date range, sale status, product category and id, define display order, choose what fields to include, and generate your report with a click.
Export Order Items for WooCommerce – export the order details for each sale in your WooCommerce store. Simplify order fulfillment, generate accounting reports in a few clicks, and download into CSV format for readability and universal compatibility with Export Order Items.
Replace Image – keep the same URL when uploading to the WordPress media library
Force Update Check for Plugins and Themes -force Update Check for Plugins and Themes forces WordPress to run a theme and plugin update check whenever you visit the WordPress updates page
Connect SendGrid for Emails – connect SendGrid for Emails is a third-party fork of (and a drop-in replacement for) the official SendGrid plugin
Custom CSS and JavaScript – allows you to add custom site-wide CSS styles and JavaScript code to your WordPress site. Useful for overriding your theme’s styles and adding client-side functionality.
Disable User Registration Notification Emails – when this plugin is activated, it disables the notification sent to the admin email when a new user account is registered.
Inline Image Upload for BBPress – enables the TinyMCE WYSIWYG editor for BBPress forum topics and replies and adds a button to the editor’s “Insert/edit image” dialog that allows forum users to upload images from their computer and insert them inline into their posts.
Password Strength for WooCommerce – disables password strength enforcement in WooCommerce.
Potent Donations for WooCommerce – acceptance donations through your WooCommerce store
Shortcodes for Divi – allows to use Divi Library layouts as shortcodes everywhere where text comes.
Stock Export and Import for WooCommerce – generates reports on the stock status (in stock / out of stock) and quantity of individual WooCommerce products.
Random Quiz Generator for LifterLMS – pull a random set of questions from your quiz so users never get the same question twice when retaking or setting up a practice quiz.
WP and Divi Icons – adds over 660 custom outline SVG icons to your website. SVG icons are vector icons, so they are sharp and look good on any screen at any size.
WP Layouts – the best way to organize, import, and export your layouts, especially if you have multiple websites.
WP Squish – reduce the amount of storage space consumed by your WordPress installation through the application of user-definable JPEG compression levels and image resolution limits to uploaded images.
To view WP Zone’s premium WordPress plugins and themes, visit our WordPress products catalog page.
