# Manage Departments

## **1: Setting**

Appearance >> Customize >> Department

### 1.1: Archive Page <a href="#id-1-archive-page" id="id-1-archive-page"></a>

* Number of Posts per page
* Order By: ID, Title, Date, Random
* Order: Ascending, Descending
* Layout with 2 columns, 3 columns or 4 columns
* Header Background of Department Archive
* Header: Choose a header version
* Footer: Choose a footer version
* Show/hide fields in card template of department.

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F4B2arv3rqOHPaHPxKJlw%2FScreenshot%202024-10-31%20at%2016.51.58.png?alt=media&#x26;token=0e4de4d7-d78d-4b8d-b5d5-aafebd61667b" alt=""><figcaption></figcaption></figure>

### 1.2: Detail Page <a href="#id-2-detail-page" id="id-2-detail-page"></a>

* Header Background of Detail page
* Header: Choose a header version
* Footer: Choose a footer version
* Show/hide fields in detail page

<figure><img src="https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F7g58NOUU3W8Kii6m0sP5%2FScreenshot%202024-10-31%20at%2016.53.57.png?alt=media&#x26;token=cb04f738-54cf-4126-ab93-179cd06b399c" alt=""><figcaption></figcaption></figure>

## **2: List All Departments**

From Dashboard, Go to Department >> All Departments\
You will see a list of all Departments.\
You can view, edit, delete and clone any departments

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGMtMLz_M0qGvwovz6f%2F-MGMv7XlIAiTWNeUqkrV%2Fdepartment%20settings.jpg?alt=media\&token=43d70b7b-ff06-446d-83cf-a92566788b2c)

## **3: Add A New Department**

From Dashboard, Go to Department >> Add new department\
This functionality enable you to add a new department with several custom fields\
\- Write Title, Description and Exerpt\
\- Add Class Icon, File in Sidebar, Image, link of Image, File List attached\
\- You can allow comments , trackbacks and pingbacks or not

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGMtMLz_M0qGvwovz6f%2F-MGMyLea6FuNFs0_m2If%2Fdepartment%20settings%201.jpg?alt=media\&token=15903a45-e8ce-4b37-89ca-fd28d172ce8b)

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGMtMLz_M0qGvwovz6f%2F-MGMyPENk7--XjkiVV4l%2Fdepartment%20settings%202.jpg?alt=media\&token=60402ee0-fa52-46aa-a71e-43cae6664482)

## **4: Add A Department Category**

To add a department category, you only need to:\
\- Add Name of department category, slug and description\
\- Choose Parent Items

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGRHtPsCG4zkhaaNiJN%2F-MGRINNTIvvTcwRUTU7Z%2Fdepartment-cate.jpg?alt=media\&token=bf289d4e-e450-45a6-9dfd-1f8d82592ed8)

## 5: Department Elements in Elementor

## 5.1: File List in Department

<figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2Fp4XLuD8Wvko9dM4Vxf08%2Fdepartment-file-egovt.png?alt=media&#x26;token=18fd264b-ad8c-472b-b096-5e2928585e7a" alt=""><figcaption></figcaption></figure>

## 5.2: Department List

<figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FJjy13hVMZWwFq5Alwlay%2Fdepartment-list-element-in-elementor-egovt.png?alt=media&#x26;token=44de03a5-1cf3-4b9b-9e21-64a3a0872273" alt=""><figcaption></figcaption></figure>

## 5.3: Department Archive

<figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F98KjZLZaDJ6p0FgkyvZS%2Fdepartment-archive-element-in-elementor-egovt.png?alt=media&#x26;token=a0a2cedc-b9d2-481c-b507-5840b7b1d614" alt=""><figcaption></figcaption></figure>

<div><figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F37bIy33Zbrv9Ec5cmn4j%2Fdepartment-archive-element-in-elementor-egovt-1.png?alt=media&#x26;token=d4bba100-c5ca-4e13-91ec-80726a81abcd" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F2qAhicosi91MrLlwOyOQ%2Fdepartment-archive-element-in-elementor-egovt-2.png?alt=media&#x26;token=43adb865-8a0c-469d-9d7e-8ac51b02327a" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F4TLk1XrZUa5IiUJs98GY%2Fdepartment-archive-element-in-elementor-egovt-3.png?alt=media&#x26;token=e684374c-9d7b-4c75-bdd4-dbc5473e9867" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FEk2Y1um61wP4stvMqXGP%2Fdepartment-archive-element-in-elementor-egovt-4.png?alt=media&#x26;token=a3616cb3-6d59-4048-8cd3-16345f53aaab" alt=""><figcaption></figcaption></figure></div>

## 5.4: Department Archive Slide

<div><figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FojxyEtjUsQysKuZsfSzs%2Fdepartment-archive-slide-element-in-elementor-egovt.png?alt=media&#x26;token=d68e33c3-ce43-493d-8d3d-1777304d0bc4" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FYEohVmwUOdHMYHSxGKzG%2Fdepartment-archive-slide-element-in-elementor-egovt-1.png?alt=media&#x26;token=af9261f8-8d22-47bc-a7a1-7dcb7d70abc2" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2Fc417ZsyACWCr92AI7Lgu%2Fdepartment-archive-slide-element-in-elementor-egovt-2.png?alt=media&#x26;token=dce837ab-b2cd-4355-a4fe-21807e36201f" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2F2qToe2HalxPwyPSJ9xJZ%2Fdepartment-archive-slide-element-in-elementor-egovt-3.png?alt=media&#x26;token=78ca375f-f266-408d-8900-fd2b81392c49" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FWVBBLh67rLqnq3YIaoSm%2Fdepartment-archive-slide-element-in-elementor-egovt-4.png?alt=media&#x26;token=a91e6065-f8cb-42b0-a4ba-8f97d2148cd6" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FdA7KAwo9UMAFlqjPErSa%2Fdepartment-archive-slide-element-in-elementor-egovt-5.png?alt=media&#x26;token=facbafe3-357a-405b-a672-5dc5983f11b8" alt=""><figcaption></figcaption></figure> <figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FzBBn8TSR5yPbLZGuNUuP%2Fdepartment-archive-slide-element-in-elementor-egovt-6.png?alt=media&#x26;token=edf8fe44-d907-4d6d-b9ec-b6e2b122059e" alt=""><figcaption></figcaption></figure></div>

## 6: Customize Template

Copy php file from \
Plugins/ova-dep/templates/\*.php \
to\
Themes/egovt-child/ovadep-templates/\*.php

### 6.1 Customize department list template

You can customize in Plugins/ova-dep/templates/archive-dep.php file

### 6.2 Customize detail department template

You can customize in Plugins/ova-dep/templates/single-dep.php file

### 6.3 Customize department Element in Elementor template

You can customize in Plugins/ova-dep/templates/elementor/\*.php file
