Okay
  Print

Listing projects by category

Important

This article is outdated. Woffice has a new documentation here: 

https://alkaweb.atlassian.net/wiki/spaces/WOF/overview

If anything is missing, let us know and we will improve it. It was designed to be searchable, more organized and more complete. 

------



replace your wp-content/themes/woffice/page-templates/projects.php file with http://take.ms/FRvWp

now edit it and on line #3 you will see :

* Template Name: Projects with 1st category

change 1st with category or anything , this text will be in template dropdown so you can recognize your template .

after that on line #68 you will see :

'terms'    => 'news',

change news with your category's slug and save file , now this template will show project related to that category :)

you can copy this file and paste in same directory and change slug and template name in all of them as per need . you may do it for all your category even if it's more than 5 :)

after that add/edit your page and in template dropdown , you should see all template .

Cheers !