该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Live Custom CSS JS Code Editor

描述

This plugin allows you to add custom site-wide CSS, JavaScript, Header, Footer Code to your WordPress site. The changes appear instantly on your website with help of WordPress Live Customizer.

In your WordPress Dashboard, navigate to Customize > Live Code Editor to get started.

When you Change or Update your WordPress Theme, Your Custom Code isn’t effected from these changes.

NEW FEATURES as Version 1.0.5:
* Add Custom CSS to WordPress Admin dashboard.
* Add Custom JavaScript to WordPress Admin dashboard.

MAIN FEATURES:

  • Custom CSS code
  • Custom Javascript code
  • Custom Header Code (Inside tags)(Google Analytics and Facebook Pixel compatible.)
  • Custom Footer Code (Before closing tag aka wp_footer function)
  • See Your Changes Immediately on your WordPress Site
  • Built in Syntax Code Highlighter
  • 16 Color Schemes (Monokai, Chrome, GitHub, Twilight, Dreamweaver, XCode, Eclipse etc. 8 Light, 8 Dark)
  • Live Syntax Checking (CSS, JavaScript, HTML)
  • Syntax Highlighting
  • Line wrapping
  • Code folding
  • Multiple cursors and selections
  • Handles huge code blocks (four million lines seems to be the limit!)

Special thanks to Justin Busa of Beaver Builder for the inspiration.

屏幕截图

  • Live CSS Code Editor
  • Live JavaScript Code Editor
  • Live Header Code Editor
  • Live Footer Code Editor
  • Code Editor Color Schemes

安装

  1. Upload the entire live-code-editor folder to the /wp-content/plugins/ directory, or download and install automatically through your admin panel.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
    You will find ‘Live Code Editor’ menu in your WordPress customizer panel.

常见问题

I just installed plugin and nothing happend

Make sure to check out your WordPress customizer panel. ( Appearance > Customize)
You will find Live Code Editor section.

What does this plugin do?

You can easily add custom CSS, Javascript, Header, Footer code to your WordPress site with WordPress customizer. You can instantly see the changes on your WordPress website.

Is this plugin compatible with any theme & plugin?

Yes, Live Code Editor is compatible with any wordpress theme.

Will I lose settings when updating my theme?

Nope, your setting will be there unless you want to remove.

Will I lose settings when change my theme?

Nope, won’t lose settings when change your theme.

评价

2019 年 6 月 25 日
This plugin is amazing to edit CSS live inside wordpress! I’ve tried alternatives, but this one knocks it out of the park. How come this has just 900+ installations??? This plugin needs to be part of every default wordpress installation! VERY useful to style wordpress in real-time!!! This saves quite some time & hassle with page reloads. ^‿^ And it does not only CSS, but also JS and custom header & footer code. I really hope the developer keeps it up <3 Still working with WP 5.2.2 by the way. THANK YOU
阅读所有3条评价

贡献者及开发者

“Live Custom CSS JS Code Editor” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Live Custom CSS JS Code Editor」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Live Custom CSS JS Code Editor”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

Version 1.0.5

  • Added – Add Custom CSS to WordPress admin dashboard option.
  • Added – Add Custom JavaScript to WordPress admin dashboard option.
  • Improved – Better coding experience for 2K, 4K and 8K monitors.

Version 1.0.4

  • Fixes WordPress compatibility.

Version 1.0.3

  • Fixes WordPress compatibility.

Version 1.0.2

  • Tested up to latest WordPress version.

Version 1.0.1

  • Updated text-domain.

Version 1.0.0

  • Initial release.