Skip to content
This repository has been archived by the owner on Jan 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #167 from pbowyer/patch-1
Browse files Browse the repository at this point in the history
Add copy & pasteable version of modules to README
  • Loading branch information
swalkinshaw authored Mar 26, 2017
2 parents 0384c6b + 821798e commit 9045500
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,36 @@ wp plugin activate soil

* **Root relative URLs**<br>
`add_theme_support('soil-relative-urls');`

And in a format you can copy & paste into your theme:
```
// Cleaner WordPress markup
//add_theme_support('soil-clean-up');
// Disable asset versioning
//add_theme_support('soil-disable-asset-versioning');
// Disable trackbacks
//add_theme_support('soil-disable-trackbacks');
// Google Analytics (more info)
//add_theme_support('soil-google-analytics', 'UA-XXXXX-Y');
// Load jQuery from the jQuery CDN
//add_theme_support('soil-jquery-cdn');
// Move all JS to the footer
//add_theme_support('soil-js-to-footer');
// Cleaner walker for navigation menus
//add_theme_support('soil-nav-walker');
// Convert search results from /?s=query to /search/query/
//add_theme_support('soil-nice-search');
// Root relative URLs
//add_theme_support('soil-relative-urls');
```

## Support

Expand Down

0 comments on commit 9045500

Please sign in to comment.