Title: WAJ Scripts
Author: waughjai
Published: <strong>2018 年 12 月 14 日</strong>
Last modified: 2019 年 5 月 7 日

---

搜索插件

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

![](https://ps.w.org/waj-scripts/assets/icon.svg?rev=2010169)

# WAJ Scripts

 作者：[waughjai](https://profiles.wordpress.org/waughjai/)

[下载](https://downloads.wordpress.org/plugin/waj-scripts.1.1.1.zip)

 * [详情](https://cn.wordpress.org/plugins/waj-scripts/#description)
 * [评价](https://cn.wordpress.org/plugins/waj-scripts/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/waj-scripts/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/waj-scripts/#developers)

 [支持](https://wordpress.org/support/plugin/waj-scripts/)

## 描述

WordPress plugin for easily adding CSS stylesheets & JavaScript files.

### Examples

    ```
    use WaughJ\WPScripts\WPStylesheets;
    WPStylesheets::register( 'main' );

    use WaughJ\WPScripts\WPScripts;
    WPScripts::register( 'blog', true );
    ```

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/plugin-name` directory, or 
    install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress

The main stylesheet & JavaScript external script can be set in Appearances -> Theme-
> Directories. There is also a checkbox for turning off jQuery, which WordPress 
automatically loads.

Individual pages can have specific stylesheet or JavaScript external scripts added
in input boxes on those pages’ individual editor pages.

Beyond this, stylesheets & javascript files can be loaded manually in PHP by calling
the “register” static method on the WPStylesheets or WPScripts classes. The WPScripts’
register method includes an optional boolean 2nd argument to determine whether the
script should be loaded in the footer or the header. Default is loading in the footer.“
dequeueWPDefaults” static method for the WPScripts class can be used to turn off
jQuery in PHP.

## 评价

此插件暂无评价。

## 贡献者及开发者

「WAJ Scripts」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ waughjai ](https://profiles.wordpress.org/waughjai/)

[帮助将「WAJ Scripts」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/waj-scripts)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/waj-scripts/)，查看[SVN仓库](https://plugins.svn.wordpress.org/waj-scripts/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/waj-scripts/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/waj-scripts/)。

## 更新日志

#### 1.1.1

 * Test in WordPress 5.2

#### 1.1.0

 * Add Ability to make mo’ complex registration functions for sheet managers & ability
   to easily register absolute URLs.

#### 1.0.2

 * Test in WordPress 5.1

#### 1.0.1

 * Fix bug causing meta boxes to try loading empty filename for empty meta boxes.

#### 1.0.0

 * Initial stable version.

## 额外信息

 *  版本 **1.1.1**
 *  最后更新：**7 年前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.0.0 或更高版本 **
 *  已测试的最高版本为 **5.2.24**
 *  PHP 版本 ** 7.0 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/waj-scripts/)
 * 标签
 * [scripts](https://cn.wordpress.org/plugins/tags/scripts/)
 *  [高级视图](https://cn.wordpress.org/plugins/waj-scripts/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/waj-scripts/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/waj-scripts/reviews/)

## 贡献者

 *   [ waughjai ](https://profiles.wordpress.org/waughjai/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/waj-scripts/)