Title: WAJ Scripts
Author: waughjai
Published: <strong>Rhagfyr 14, 2018</strong>
Last modified: Mai 7, 2019

---

Search plugins

Nid yw’r ategyn hwn **wedi cael ei ddiweddaru ers 3 ryddhad mawr**. Efallai nad 
yw’n cael ei gynnal bellach ac efallai bod materion cydnawsedd wrth gael ei ddefnyddio
gyda fersiynau mwy diweddar o WordPress.

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

# WAJ Scripts

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

[Llwytho i lawr](https://downloads.wordpress.org/plugin/waj-scripts.1.1.1.zip)

 * [Details](https://cy.wordpress.org/plugins/waj-scripts/#description)
 * [Reviews](https://cy.wordpress.org/plugins/waj-scripts/#reviews)
 *  [Installation](https://cy.wordpress.org/plugins/waj-scripts/#installation)
 * [Development](https://cy.wordpress.org/plugins/waj-scripts/#developers)

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

## Disgrifiad

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 );
    ```

## Gosod

 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.

## Adolygiadau

There are no reviews for this plugin.

## Contributors & Developers

“WAJ Scripts” is open source software. The following people have contributed to 
this plugin.

Cyfranwyr

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

[Translate “WAJ Scripts” into your language.](https://translate.wordpress.org/projects/wp-plugins/waj-scripts)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/waj-scripts/), check
out the [SVN repository](https://plugins.svn.wordpress.org/waj-scripts/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/waj-scripts/) by
[RSS](https://plugins.trac.wordpress.org/log/waj-scripts/?limit=100&mode=stop_on_copy&format=rss).

## Cofnod Newid

#### 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.

## Meta

 *  Version **1.1.1**
 *  Last updated **7 blynedd yn ôl**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.0.0 neu uwch **
 *  Tested up to **5.2.24**
 *  PHP version ** 7.0 neu uwch **
 *  Language
 * [English (US)](https://wordpress.org/plugins/waj-scripts/)
 * Tag
 * [scripts](https://cy.wordpress.org/plugins/tags/scripts/)
 *  [Advanced View](https://cy.wordpress.org/plugins/waj-scripts/advanced/)

## Graddau

No reviews have been submitted yet.

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

[See all reviews](https://wordpress.org/support/plugin/waj-scripts/reviews/)

## Cyfranwyr

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

## Cefnogaeth

Rhywbeth i’w ddweud? Angen help?

 [Gweld y fforwm cefnogi](https://wordpress.org/support/plugin/waj-scripts/)