projectInfo()
Description
Returns an array containing all data about the project.
Here is an example:
array(
'id' => 3,
'title' => 'Around the Corner',
'slug' => 'around-the-corner',
'date' => 543456000,
'section' => 2,
'pos' => 3,
'flow' => 'group1:one-by-one,textblock2,group2:pop',
'thumbnail' => 'aroundthecorner.project.jpg',
'publish' => 1
)
Usage
<?php $project_info= projectInfo( $id/slug ); ?>
Parameters
$id/slug
- integer or string
- optional
You can specify which project to retrieve, by supplying either the ID number or slug.
Examples
<?php
$project_info= projectInfo( 'around-the-corner' );
echo $project_info['title'];
?>
-
FAQ
- What is the Page Type and how do I use it?
- How do I make blog pagination work?
- How can I make next/previous buttons to navigate my projects?
- How do I include Vimeo, YouTube, SoundCloud etc in my projects, pages, blog posts?
- How do I make excerpts for my blog posts? (Using the {more} tag)
- View all (2 more)
-
General Documentation
-
Themes
-
Code Documentation