# 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

![](/files/-MGMv7XlIAiTWNeUqkrV)

## **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

![](/files/-MGMyLea6FuNFs0_m2If)

![](/files/-MGMyPENk7--XjkiVV4l)

## **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

![](/files/-MGRINNTIvvTcwRUTU7Z)

## 5: Department Elements in Elementor

## 5.1: File List in Department

<figure><img src="/files/5C4h9Sb07wZpHTeqsv3j" alt=""><figcaption></figcaption></figure>

## 5.2: Department List

<figure><img src="/files/ZqMp2pgD5mLidOWxro3u" alt=""><figcaption></figcaption></figure>

## 5.3: Department Archive

<figure><img src="/files/vL2nn0YOszI2b2BL7QXo" alt=""><figcaption></figcaption></figure>

<div><figure><img src="/files/RZrOk4ewwcEipxMqjWbr" alt=""><figcaption></figcaption></figure> <figure><img src="/files/fYSYzvJKWJcPUQHivO0o" alt=""><figcaption></figcaption></figure> <figure><img src="/files/5SlOQgOJAVoYVJtPtR3Q" alt=""><figcaption></figcaption></figure> <figure><img src="/files/6cJWooz0WISQVcwvGxcD" alt=""><figcaption></figcaption></figure></div>

## 5.4: Department Archive Slide

<div><figure><img src="/files/2T0OLZT3WFuGnyyFF1Zh" alt=""><figcaption></figcaption></figure> <figure><img src="/files/GKe6l0EgoGTFeQGM8iQQ" alt=""><figcaption></figcaption></figure></div>

<div><figure><img src="/files/RDbxF3DPY60m7JoHZY8Z" alt=""><figcaption></figcaption></figure> <figure><img src="/files/UvlE2VhhOnoNNYKWeQi2" alt=""><figcaption></figcaption></figure> <figure><img src="/files/G91g7sB5TamfLzF5iJ3W" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ygA3TTO86KlMYx3clw5k" alt=""><figcaption></figcaption></figure> <figure><img src="/files/L07y2k061ptYUiAAsota" 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ovatheme.gitbook.io/egovt/main-features/manage-departments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
