Download the PHP package underpin/post-template-loader without Composer
On this page you can find all versions of the php package underpin/post-template-loader. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download underpin/post-template-loader
More information about underpin/post-template-loader
Files in underpin/post-template-loader
Download underpin/post-template-loader
More information about underpin/post-template-loader
Files in underpin/post-template-loader
Vendor underpin
Package post-template-loader
Short Description Post Template Loader for Underpin
License GPL-2.0-or-later
Package post-template-loader
Short Description Post Template Loader for Underpin
License GPL-2.0-or-later
Please rate this library. Is it a good library?
Informations about the package post-template-loader
Underpin post template Loader
Loader That assists with adding post templates to a WordPress website.
Installation
Using Composer
composer require underpin/post-template-loader
Manually
This plugin uses a built-in autoloader, so as long as it is required before Underpin, it should work as-expected.
require_once(__DIR__ . '/underpin-post-templates/post-templates.php');
Setup
- Install Underpin. See Underpin Docs
- Register new post templates as-needed.
Example
A very basic example could look something like this.
Alternatively, you can extend post template
and reference the extended class directly, like so:
All versions of post-template-loader with dependencies
PHP Build Version
Package Version
Requires
underpin/underpin Version
^2.0
The package underpin/post-template-loader contains the following files
Loading the files please wait ....