atomita/wp-layout-style-theme
Composer 安装命令:
composer require atomita/wp-layout-style-theme
包简介
关键字:
README 文档
README
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
require {composer install dir} . "/vendor/autoload.php"; use \atomita\wordpress\LayoutStyleThemeFacade as LayoutStyleTheme; LayoutStyleTheme::initialize();
Less than PHP 5.3
require {composer install dir} . "/vendor/autoload.php"; atomita_wordpress_LayoutStyleThemeFacade::initialize();
LICENSE
This is released under the LGPLv3, see LICENSE.
Copyright (c) 2014 atomita
统计信息
- 总下载量: 38
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: LGPLv3
- 更新时间: 2014-01-16