devaloka / templating
A partial template loader for WordPress
dev-master / 0.7.x-dev
2017-06-12 02:05 UTC
Requires
- php: >=5.6.0
- pimple/pimple: ~3.0
- symfony/event-dispatcher: ~3.2
Requires (Dev)
- squizlabs/php_codesniffer: ^2.9.1
This package is auto-updated.
Last update: 2024-10-29 04:42:00 UTC
README
A partial template loader for WordPress as just a better replacement of
get_template_part()
.
Features
- Including a partial template as a new lexical environment
- Passing/Injecting variable(s) into a partial template
- Injecting global variable(s) into a WordPress template
Installation
-
Install via Composer.
composer require devaloka/templating