Page Type Options for Projects
This is a list of the options that can be used in the Page Type Option field for Projects.
section
The name of the section you want to display
tags
Instead of using sections, you can take advantage of the tagging system and tag your projects with related keywords. Enter a comma separated list of tags, and only such tagged projects will be shown:
tags= posters, music, festivals
order
pos (default), title, date, random
What to order the projects by. Pos is your custom order created by dragging and dropping projects in Secretary.
orderHow
asc (default), desc
How to order the projects, ascending (1, 2, 3.. ; a, b, c... ; oldest first) or descending (3, 2, 1; c, b, a; newest first).
limit
Use this option to limit how many projects are shown. Just enter the maximum number of projects you would like to be displayed.
id
Use this option to display a specific project. You can enter the database ID number, slug/simple name (can be found when editing a project under the Simple Name/Slug field) or the full title of the project. Using the slug or ID is most reliable.
show
small (default) or big
This option lets you decide if the projects should be displayed in list form (small) or full form (big: all images/text/content, useful for single page portfolios). Small will use the projects_list.html template of your theme, while big will use the projects_view.html template.
template
This flexible option lets you override the template used to display projects. For example, you may have a "Featured" page where the layout changes from other "standard" projects. Simply enter the file name of the template you wish to use instead, like "mycustomtemplate.html". The template file must be in the templates folder within the folder of the theme you are using.
func
Advanced use only. Another very flexible option, this lets you enter the name of a function to override the default actions taken by the system to display projects. Particularly useful if you want to use the functionality provided by a plugin.
func= myCustomFunction
Related
-
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