Linux 软件免费装
Banner图

Simple Custom CSS and JS

开发者 diana_burduja
更新时间 2024年11月13日 18:51
PHP版本: 5.2.4 及以上
WordPress版本: 6.7
版权: GPLv3
版权网址: 版权信息

标签

custom CSS custom JS site css add style customize theme

下载

3.49 1.2 1.1 3.13 3.47 3.10 3.20 3.31 3.45 1.5 1.6 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 3.0 3.1 3.11 3.12 3.14 3.15 3.16 3.17 3.2 3.21 3.22 3.23 3.24 3.27 3.28 3.29 3.30 3.31.1 3.32 3.32.1 3.32.2 3.32.3 3.33 3.34 3.34.1 3.35 3.36 3.5 3.6 3.7 3.8 3.9 3.19 3.37 3.38 3.4 3.38.1 3.41 3.42 3.40 1.3 1.4 3.18 3.25 3.26 3.43 3.39 3.46 2.10 3.48

详情介绍:

Customize your WordPress site's appearance by easily adding custom CSS and JS code without even having to modify your theme or plugin files. This is perfect for adding custom CSS tweaks to your site. Features

安装:

OR... OR...

屏幕截图:

  • Add/Edit Javascript
  • Add/Edit CSS
  • Add/Edit HTML

常见问题:

What if I want to add multiple external CSS codes?

If you write multiple codes of the same type (for example: two external CSS codes), then all of them will be printed one after another

Will this plugin affect the loading time?

When you click the Save button the codes will be cached in files, so there are no tedious database queries.

Does the plugin modify the code I write in the editor?

No, the code is printed exactly as in the editor. It is not modified/checked/validated in any way. You take the full responsability for what is written in there.

My code doesn't show on the website

Try one of the following:

  1. If you are using any caching plugin (like "W3 Total Cache" or "WP Fastest Cache"), then don't forget to delete the cache before seing the code printed on the website.
  2. Make sure the code is in Published state (not Draft or in Trash).
  3. Check if the wp-content/uploads/custom-css-js folder exists and is writable

Does it work with a Multisite Network?

Yes.

What if I change the theme?

The CSS and JS are independent of the theme and they will persist through a theme change. This is particularly useful if you apply CSS and JS for modifying a plugin's output.

Can I use a CSS preprocesor like LESS or Sass?

For the moment only plain CSS is supported, but you can check out the Pro version in case you need a CSS preprocessor.

Can I upload images for use with my CSS?

Yes. You can upload an image to your Media Library, then refer to it by its direct URL from within the CSS stylesheet. For example: div#content { background-image: url('http://example.com/wp-content/uploads/2015/12/image.jpg'); }

Can I use CSS rules like @import and @font-face?

Yes.

Who can publish/edit/delete Custom Codes?

By default only the Administrator will be able to publish/edit/delete Custom Codes. On the plugin activation there is a role created called Web Designer. You can assign this role to a non-admin user in order to allow to publish/edit/delete Custom Codes. On the plugin's Settings page there is an option to remove this role.

My website has HTTPS urls, but the codes are linked as HTTP

The URL for the linked Codes is built just like the URL for other media (from Media Library) by using the WordPress Address option found on the WP Admin -> Settings -> General page, as shown in this screenshot. If the WordPress Address has HTTPS in the url, then the Custom Codes and all the other media will have HTTPS in the url.

更新日志:

3.49 3.48 3.47 3.46 3.45 3.44 3.43 3.42