Skip to content

brendanfalkowski/statamic-parent

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Parent Page Helper

Plugin for Statamic that retrieves information about the parent page.

Usage

All of the following tags return NULL if the page does not have a parent (i.e. the root page).

  • {{ parent:title }} - Retrieve the title of the parent page
  • {{ parent:url }} - Retrieve the URL of the parent page
  • {{ parent var="somevarname" }} - Retrieve any var defined in YAML on the parent page

License

Licensed under the MIT License.

About

Parent page helper plugin for Statamic

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%