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

AIM Style Vault

描述

AIM Style Vault lets you add persistent CSS to your WordPress theme that can be organized into stylesheets and published
just like a post. You’ll never again have to worry about losing changes made to the style.css file of your theme. In fact, you
can switch back and forth between themes and use AIM Style Vault stylesheets to preserve special styles for each. The AIM Style
Vault stylesheets are generated using a custom post type, then compressed and served to the document header,
resulting in the fast application of custom CSS. Stylesheets are applied using the top-to-bottom cascade so that recent stylesheet
entries will override earlier entries.

Requirements:
AIM Style Vault requires that the wp_head() tag is included in the theme header.php file. If it is not present, contact your theme’s
author and request that it be included.

AIM Style Vault Features:

  • Unlimited Custom CSS Stylesheets
  • Name each stylesheet
  • Copy and paste stylesheets from another site or your text editor
  • Publishing controls for each stylesheet
  • Accepts all valid CSS and CSS3 specifications
  • Links to CSS resources, including a color-picker and CSS3 style generator
  • Use WordPress Importer plugin to import or export AIM Style Vault stylesheets
  • The AIM Style Vault stylesheet files are accessible only to Admin users

Some uses for AIM Style Vault:

  • Create seasonal styles for your website
  • Apply style tweaks that won’t be lost with a theme upgrade
  • Use AIM Style Vault in place of a child theme for style changes
  • Publish a style on a given date
  • Apply browser-specific styles using the added body selectors (requires body classes to be set)
  • Switch between styles without losing a style
  • Create and easily share styles for a theme
  • Keep track of older styles in unpublished stylesheets (for reference)
  • Test new layouts and styles for better conversion
  • Organize styles into stylesheets based on criteria such as location or function
  • Create versions of styles for approvals.

More information about the AIM Style Vault is available at: AIMBIZ

屏幕截图

  • Select AIM Style Vault from the left sidebar and choose whichever stylesheet you want to edit. You can also filter by Custom Style Types.
  • Enter your CSS code in the stylesheet editor using proper CSS syntax…and publish it!
  • Here’s the “before” screenshot of the Twenty-eleven home page.
  • We change some styles: remove the Home title, create two-columns for the text, add a border, widen the content area and remove the margin at the top of the page.
  • And here are the front-end results.

安装

  1. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

How do I add CSS styles in the Custom CSS stylesheet editor?

Use proper CSS syntax including the selector, property and value. Properties and values are separated by a colon and a semi-colon should follow the value.
The properties and values for any selector should be enclosed in brackets: e.g. .selector-name { width: 100%;}

What happens to the styles when I change themes?

You can create new special styles for the new theme. If two themes use the same selector, you may want to unpublish the stylesheet created for the previous
theme and create a new style for the selector in the new theme.

Can I add comments to the stylesheets?

Yes, just use the proper syntax, enclosing the comment in slashes and asterisks: /* comment goes here */.

评价

此插件暂无评价。

贡献者及开发者

“AIM Style Vault” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“AIM Style Vault”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0.0

  • AIM Style Vault public release version