devaloka/templating

A partial template loader for WordPress

dev-master / 0.7.x-dev 2017-06-12 02:05 UTC

This package is auto-updated.

Last update: 2024-11-29 04:51:06 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

Installation

  1. Install via Composer.

    composer require devaloka/templating