Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miya0001/switch_theme
Class for switch WordPress theme
https://github.com/miya0001/switch_theme
Last synced: 24 days ago
JSON representation
Class for switch WordPress theme
- Host: GitHub
- URL: https://github.com/miya0001/switch_theme
- Owner: miya0001
- License: gpl-2.0
- Created: 2013-11-01T20:25:38.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2013-11-08T17:21:18.000Z (about 11 years ago)
- Last Synced: 2024-11-19T09:02:05.687Z (about 1 month ago)
- Language: PHP
- Size: 125 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Megumi_SwitchTheme() Class
Class for switch WordPress theme.
## How to install in your project.
### Add composer.json like below
{
"require": {
"megumi/switch_theme": "dev-master"
}
}### Download this package in your project.
composer install
### Load this class.
require(dirname(__FILE__).'/vendor/autoload.php');
## Example
Basic:
apply();
}Theme file is out of the wp-content/themes
apply();
}## License
GPL2