devaloka/devaloka-templating

A partial template loader for WordPress

0.2.2 2015-12-29 12:22 UTC

This package is auto-updated.

Last update: 2024-04-29 03:07:14 UTC


README

Latest Stable Version Latest Unstable Version License Build Status

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

Requirements

Installation

  1. Install via Composer.

    composer require devaloka/devaloka-templating