Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

wp-papi/timber-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Timber integration

Timber integration class for Papi

It should be loaded after Timber is loaded. Easiest is to load it in the themes function file.

TimberImage

Papi has already initialized the images with TimberImage class. So instead of writing this:

<img src="{{TimberImage(item.picture).src}}" />

You can just write it like this:

<img src="{{item.picture.src}}" />

About

[Deprecated] Timber integration class for Papi

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages