PHPackages                             thezombieguy/wpc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. thezombieguy/wpc

ActiveLibrary[Caching](/categories/caching)

thezombieguy/wpc
================

Custom WordPress features to allow for caching, theming and simple API endpoint creation.

v2.0(9y ago)114MITPHP

Since Mar 11Pushed 9y ago1 watchersCompare

[ Source](https://github.com/thezombieguy/wpc)[ Packagist](https://packagist.org/packages/thezombieguy/wpc)[ RSS](/packages/thezombieguy-wpc/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (0)

Wordpress Custom Theme library
==============================

[](#wordpress-custom-theme-library)

This library is intended to give WordPress developers a little extra functionality when building custom themes.

This library includes advanced theme templates with variable injection, API wrapper for easier endpoint development, and a simple caching system that stores cached objects to the file system.

Install
-------

[](#install)

You can install with composer

```
composer require thezombieguy/wpc 2.0
```

Usage
-----

[](#usage)

More information is available in the docs folder.

### Theme

[](#theme)

First create a template in your theme folder. For this example, we will create templates/test.php

```

```

And now, in one of your page templates, add the following code.

```
