# Manage Document

## 1: Settings

Appearance >> Customize >> Document

### 1.1: Archive page

* The number of posts per page: unlimited- depend on your need
* Order By: ID, Date, Title, Random
* Order: Ascending, Descending
* Layout: 1, 2, 3 columns
* Image Sidebar
* Link of image in sidebar
* Background in Archive
* Header: choose a header version
* Footer: choose a footer version
* Show/hide fields in document archive page

<figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FWD57C7xVAC793Fk4D1kk%2FScreenshot%202024-10-31%20at%2016.56.14.png?alt=media&#x26;token=810b4fa6-4f56-4ec7-af70-cdc00d98c30e" alt=""><figcaption></figcaption></figure>

### 1.2: Detail Page

* Background Single Document
* Header: Choose a header verison
* Footer: Choose a footer version
* Image Sidebar
* Link of image in sidebar
* Show/hide fields in detail page

You can see the illustrated image below:&#x20;

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FVRxfKRJMO0vqWfpdtju4%2FScreenshot%202024-10-31%20at%2016.57.32.png?alt=media\&token=43d1c40c-5375-4520-88f9-5295971fce87)

## &#x32;**: List All Document**

From Dashboard, Go to Document >> All Document\
This feature will list all document and allow to do some operations with document such as view, edit, remove, clone.

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGN12y5GVPBj7I4Xx2V%2F-MGN2yMHX7NRm4CULym8%2Fdocument-list.jpg?alt=media\&token=6471e4dd-7ad1-4f8d-9d38-b3200821b737)

## **3: Add New Document**

From Dashboard, Go to Document >> Add New Document\
If you want to create the new document, You only need to add:\
\- Title\
\- Description\
\- Exerpt\
\- Image\
\- Link of image\
2 Document 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-MGN12y5GVPBj7I4Xx2V%2F-MGN6JMVAWmQm1iNARzH%2Fdocument-new.jpg?alt=media\&token=a76bd9a3-09ff-4cc2-aee6-5d494f3badf2)

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGN12y5GVPBj7I4Xx2V%2F-MGN6Oag28T_q21GWll5%2Fdocument-new-1.jpg?alt=media\&token=aba0815d-ac7b-40f5-ac93-67b68affba6b)

## **4: Add New Document Category**

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

You can see the image below:

![](https://399016172-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MG2kxo2VU_QTDsi9Ubc%2F-MGRIPWIuUNODDnkvweK%2F-MGRKMwvTRcNdM3uYP49%2Fdepartment-category.jpg?alt=media\&token=83ce191d-914e-46c6-9401-4db720c8daed)

## 5: Document Elements in Elementor

### 5.1: Document

<figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FDEAC1ug3fNVpXU7r0JZy%2Fdocument-element-in-elementor-egovt.png?alt=media&#x26;token=e21ee828-8a03-45ea-90c3-cf1138607c9a" 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%2FTEZGxlya5QGJqDieyIjv%2Fdocument-element-in-elementor-egovt-1.png?alt=media&#x26;token=d6d136bf-784d-4587-a746-17c09f559ed1" 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%2F0DUlAjHtYjB1ij78FQtj%2Fdocument-element-in-elementor-egovt-2.png?alt=media&#x26;token=757e28b5-87ba-487d-b72e-b705b4d6c458" 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%2F3ihQHgzvxEMJkCsDmjq0%2Fdocument-element-in-elementor-egovt-3.png?alt=media&#x26;token=5e71f156-052c-45c2-8057-373a4189483f" 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%2FhUkiwDjy6lgLndAaA6bE%2Fdocument-element-in-elementor-egovt-4.png?alt=media&#x26;token=0219ecf6-d09f-4133-b47a-d2f42c9f80ec" alt=""><figcaption></figcaption></figure></div>

### 5.2: Document Archive

<figure><img src="https://399016172-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MG2kxo2VU_QTDsi9Ubc%2Fuploads%2FBauRESI2OKgDSmt43KYy%2Fdocument-archive-element-in-elementor-egovt.png?alt=media&#x26;token=13172495-28e8-44e4-ac4f-cfc65462a053" alt=""><figcaption></figcaption></figure>

## 6: Customize Template

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

### 6.1 Customize documentation list template

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

### 6.2 Customize detail documentation template

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

### 6.3 Customize documentation Element in Elementor template

You can customize in Plugins/ova-doc/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-document.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.
