Okay
  Print

How to create a Portfolio

There are 2 ways to create a Portfolio (a page display the single Projects) in Mountain theme: use Project Template or Shortcode:

1. If you want to create your Portfolio by Project Template:

- Please go to Admin > Page > Add New to create a new page and in Page Attributes > Template select Projects

- Then, you can go to Appearance > Projects > Project Archive to choose the layout of this Portfolio is Grid/Masonry/Gallery/Justify or change other settings.

* Please NOTE that the settings in Appearance > Projects > Project Archive is the global settings which will apply to all pages have template is Project.

2. If you want to create your Portfolio by Shortcode:

- Please go to Admin > Page > Add New to create a new page and in Page Attributes > Template select Projects

- With this method you just need to make modifications within the Shortcode to change the Portfolio settings such as Project layout style or category, columns, etc. Especially, this settings only apply to its own page.

- Let see the following Shortcode as an example, it will list 9 single Projects in the category Design, in Masonry layout and in 3 columns.

[projects_grid category='design' tag='' exclude='' layout='masonry' columns=3 limit=9 filter='yes' 
filter_by='category'][/projects_grid]

Please NOTE that if you use [projects_grid] Shortcode the layout can be Grid/Masonry/Gallery, but if you want to use the Justify layout you need to use [projects_justify] Shortcode as bellow

[projects_justify category='' tag='' exclude='' limit=9][/projects_justify]

Please read the Short Code section in the Mountain Documentation or the following explanation to know more about Project Short Code attributes:

[projects_grid]

  • category: The categories slug you need to filter the projects
  • tag: The tags slug you need to filter the projects
  • exclude: Enter the project ID to exclude it, separate by the comma
  • layout: Can be “masonry”, “grid”, “gallery”
  • columns: How many columns you need to display
  • limit: How many projects per page
  • filter: “yes” to show the projects filter
  • filter_by: “category” or “tag”
  • class: The extra class name for the projects grid

[projects_justify]

  • category: The categories slug you need to filter the projects
  • tag: The tags slug you need to filter the projects
  • exclude: Enter the project ID to exclude it, separate by the comma
  • limit: How many projects per page
  • class: The extra class name for the projects grid