Template Tags / pageInfo()
Description
Returns an array containing all data about the page.
Example output:
array( 'id' => 1, 'name' => 'Intro', 'slug' => 'intro', 'url' => '', 'text' => 'The Secretary is a content management system for designers, artists, photographers and musicians.' 'content_type' => 'projects', 'content_options' => 'id= intro', 'hidden' => 1, 'parent' => 0, 'pos' => 0 )
Usage
<?php $page_info= pageInfo( $id/$slug ); ?>
Parameters
$id/slug
- optional
The id or slug of the page you would like to retrieve.