https://github.com/starise/solero
Theme-agnostic modules collection for Wordpress
https://github.com/starise/solero
Last synced: 4 months ago
JSON representation
Theme-agnostic modules collection for Wordpress
- Host: GitHub
- URL: https://github.com/starise/solero
- Owner: starise
- License: mit
- Created: 2015-09-29T11:02:48.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-12-05T16:25:06.000Z (over 9 years ago)
- Last Synced: 2025-01-27T11:15:53.691Z (4 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Solero
Theme-agnostic modules collection for Wordpress
## Requirements
* PHP >= 5.4
* Wordpress >= 4.0### Installation
Add Solero to project's dependencies using Composer.
```sh
composer require starise/solero dev-master
```### Activation
The plugin can be activated using WordPress admin panel or via [wp-cli](http://wp-cli.org/commands/plugin/activate/).
```sh
wp plugin activate solero
```## Modules
* **Load jQuery from the Google CDN**
`add_theme_support('solero-jquery-cdn');`* **Cleaner WordPress markup**
`add_theme_support('solero-clean-up');`* **Cleaner walker for navigation menus**
`add_theme_support('solero-nav-walker');`* **Root relative URLs**
`add_theme_support('solero-relative-urls');`* **Google Analytics** ([more info](https://github.com/roots/soil/wiki/Google-Analytics))
`add_theme_support('solero-google-analytics', 'UA-XXXXX-Y');`* **Google Fonts**
`add_theme_support('solero-google-fonts', ['Open Sans' => '400,700']);`* **Move all JS to the footer**
`add_theme_support('solero-js-to-footer');`* **Disable trackbacks**
`add_theme_support('solero-disable-trackbacks');`* **Disable asset versioning**
`add_theme_support('solero-disable-asset-versioning');`