projectContent()
Description
Displays a project's content - all images, text blocks and other files. Use this in the projects_view.html.
The function also ensures that all JavaScript and CSS files needed by group display types are included in the page, so you don't have to.
Usage
<?php echo projectContent( $id ); ?>
Parameters
$id
- integer or string
- optional
- Default: currently selected project
If you need to use this function outside of the projects_view.html template, where you need to display a specific project, supply the project's database ID number or slug.
Examples
Default usage
<?php echo projectContent(); ?>`
Specific project
<?php echo projectContent( 'dear-city' ); ?>
-
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