Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/atomita/wordpress-layout-style-theme
https://github.com/atomita/wordpress-layout-style-theme
Last synced: 11 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/atomita/wordpress-layout-style-theme
- Owner: atomita
- License: lgpl-3.0
- Created: 2014-01-16T09:39:47.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2014-06-19T08:56:25.000Z (over 10 years ago)
- Last Synced: 2024-04-17T03:07:26.671Z (7 months ago)
- Language: PHP
- Size: 289 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Wordpress Layout Style Theme
=====================This is intended to be able to use the "layout" in the file of the theme of wordpress.
Need to call the "get_header" function or the like in the "template of content (single.php, index.php, etc.)" will be lost when you use this.
"template of content" you can focus on content for it.## Get started
Install the "atomita/wordpress-layout-style-theme" using the composer.
Copy to the "wp-content/themes/{theme-name}/layout/default.php" from "src/atomita/wordpress/LayoutStyleTheme/default.php".
And be customized.Describe the following at the "functions.php".
**PHP 5.3 or more**
```php
require {composer install dir} . "/vendor/autoload.php";
use \atomita\wordpress\LayoutStyleThemeFacade as LayoutStyleTheme;
LayoutStyleTheme::initialize();
```**Less than PHP 5.3**
```php
require {composer install dir} . "/vendor/autoload.php";
atomita_wordpress_LayoutStyleThemeFacade::initialize();
```## LICENSE
This is released under the LGPLv3, see LICENSE.
Copyright (c) 2014 atomita