Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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