wp-papi/papi-digster-extensions

Papi extensions for Digster

Installs: 6 208

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 8

Forks: 1

Open Issues: 0

Type:wordpress-plugin

v1.1.0 2015-08-24 13:00 UTC

This package is auto-updated.

Last update: 2024-10-26 01:32:19 UTC


README

License

Digster extensions for Papi.

Installation

$ composer require wp-papi/papi-digster-extensions

Example

Get field

<p>Hello {{ papi_get_field(1, 'name') }}!</p>

Get option

<p>Copyright {{ papi_get_option('site') }}</p>

Get slugs

{% for title, slugs in papi_get_slugs(1) %}
  <p>{{ title }}</p>
{% endfor %}

License

MIT © Fredrik Forsmo