Skip to content

PageKit extension which allows you to include dynamic fields like current year to your contents.

License

Notifications You must be signed in to change notification settings

xEsk/pagekit-fields

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fields

General

Allows you to include dynamic fields like current year to your contents.

Installation

Please install this extension via Pagekit's marketplace.

Basic usage

To include a dynamic field use the Pagekit plugin content anotation:

(fields){"id":"__field__"}

Available fields

Date time fields

(fields){"id":"year"} Outputs the current year, example: 2018

(fields){"id":"date", "format":"..."} Outputs the current date using a custom PHP format.

Server information

(fields){"id":"server", "value":"..."}

Outputs any field value stored in $_SERVER array, for example: SERVER_NAME.

About

PageKit extension which allows you to include dynamic fields like current year to your contents.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages