- Web templates
- E-commerce Templates
- CMS & Blog Templates
- Facebook Templates
- Website Builders
Drupal 7.x. How to add Portfolio category and display specific items on a page
March 18, 2014
This tutorial shows how to add a Portfolio category and display specific items on a page.
Drupal 7.x. How to add Portfolio category and display specific items on a page
-
Open the admin section and go to Structure -> Taxonomy. Select list terms in the Portfolio categories section (your template may have a different taxonomy name).
-
Click on Add term and specify Portfolio category name (in Drupal, Category is called Taxonomy). Save the changes.
-
Edit portfolio view:
-
Add a new page and copy its settings from the existing page. Specify the page name. Open one of the sample pages and copy the settings from there. Be sure to select "For this page only (override option)." In this case, the settings will be applied to one page only. You should do that for all the settings.
-
In Filter options, click on Content: Has taxonomy term (add this Filter criteria if it is not available by default). Specify category name. Be sure to select "For this page only" option. Save the settings.
-
Add path and assign the page to menu (in case you need to add it to a particular menu).
-
Remove filters in case you need to assign a particular category to the page. Filter shows all categories only and sorts items for all categories only.
-
Assign portfolio posts to a new category or add new posts to it. The type of posts should be Portfolio content.
-
We have added a new category. Now specific portfolio posts appear on a separate page. Please note that you should assign a specific category to each page. Otherwise, all categories will appear by default.
Feel free to check the detailed video tutorial below:
Drupal 7.x. How to add Portfolio category and display specific items on a page