https://github.com/devaloka/templating
:sunny: [READ-ONLY] A partial template loader for WordPress as just a better replacement of get_template_part().
https://github.com/devaloka/templating
Last synced: about 1 year ago
JSON representation
:sunny: [READ-ONLY] A partial template loader for WordPress as just a better replacement of get_template_part().
- Host: GitHub
- URL: https://github.com/devaloka/templating
- Owner: devaloka
- License: gpl-2.0
- Created: 2016-01-24T03:24:02.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-12T02:30:56.000Z (about 9 years ago)
- Last Synced: 2025-03-22T00:35:04.019Z (about 1 year ago)
- Language: PHP
- Homepage:
- Size: 20.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: MIT-LICENSE.txt
Awesome Lists containing this project
README
# Templating Component
[![Latest Stable Version][stable-image]][stable-url]
[![Latest Unstable Version][unstable-image]][unstable-url]
[![License][license-image]][license-url]
[![Build Status][travis-image]][travis-url]
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
1. Install via Composer.
```sh
composer require devaloka/templating
```
[stable-image]: https://poser.pugx.org/devaloka/templating/v/stable
[stable-url]: https://packagist.org/packages/devaloka/templating
[unstable-image]: https://poser.pugx.org/devaloka/templating/v/unstable
[unstable-url]: https://packagist.org/packages/devaloka/templating
[license-image]: https://poser.pugx.org/devaloka/templating/license
[license-url]: https://packagist.org/packages/devaloka/templating
[travis-image]: https://travis-ci.org/devaloka/templating.svg?branch=master
[travis-url]: https://travis-ci.org/devaloka/templating