Skip to content

Commit

Permalink
Merge pull request #20 from awesomephant/master
Browse files Browse the repository at this point in the history
Add example for add_js
  • Loading branch information
jarednova authored Apr 12, 2017
2 parents 4971cb6 + bfadb23 commit b278a87
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,15 @@ Jigsaw::show_notice('Error flushing cache, is the plugin activated?', 'error');
Jigsaw::add_css('css/my-admin-style.css');
```

#JigsawPermalinks
### Add a JS file to the admin

###### `Jigsaw::add_js($css_file);`

```php
Jigsaw::add_js('js/my-admin-script.js');
```

# JigsawPermalinks

### Set the base of the author permalink

Expand Down

0 comments on commit b278a87

Please sign in to comment.