# General Settings

{% hint style="success" %}
Navigate to **WordPress Dashboard → Directory → Settings → General** to configure core settings for your directory.
{% endhint %}

In this section, you can set up fundamental options for the directory, including **page selection, layout preferences, listing behavior, and email notifications**.

**Before configuring settings, ensure you create:**\
✔ A **Directory Listing Page** (to display listings).\
✔ A **Directory Dashboard Page** (for user account management).

You can also select **templates** and adjust other essential settings here.

### **General Settings Options**

<figure><img src="https://1329454200-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjkjLxJBF9ZEhrw9368jY%2Fuploads%2Fj0dnOTYYlhyYYO7YNip9%2Fdt-dir-op01.jpg?alt=media&#x26;token=2a2331c9-34d4-458a-9895-54c1b3bf9f2a" alt=""><figcaption></figcaption></figure>

### **1. Container Width**

* Default: **1230px**
* Defines the **width of the directory container** in pixels.

### **2. Listing Single Page Template**

* Choose how **single listing pages** appear:
  * **Custom Template** – Design your own layout.
  * **Predefined Templates** – Use built-in designs from **Directory Single Page Template**.

### **3. MLS Number Settings**

* **MLS Number - Prefix**: Add a **custom prefix** for MLS numbers.
* **MLS Number - Total Digits**: Set a **maximum of 8 digits** for MLS numbers.

### **4. Backend & Frontend Post Display**

* **Backend - Posts Per Page**: Number of listings shown in the backend (e.g., statistics). Default: **10**.
* **Frontend - Posts Per Page**: Number of listings displayed on the frontend (e.g., user dashboard). Default: **10**.

### **5. Purchase Package Shortcode**

* Add a **shortcode** to display package purchase options on the seller's dashboard.
* Example Shortcode:

  ```html
  [dtdr_packages_listing type="type1" post_per_page="3" columns="3" apply_isotope="false" package_type="all" package_item_ids="" excerpt_length="20" show_featured_image="true" apply_equal_height="false" enable_carousel="false" carousel_effect="" carousel_autoplay="" carousel_slidesperview="2" carousel_loopmode="false" carousel_mousewheelcontrol="false" carousel_bulletpagination="true" carousel_arrowpagination="" carousel_spacebetween="20" class="" /]
  ```

### **6. Restrict Page View Counter Over User IP**

* **Enable this option to prevent duplicate page views** from the same IP address.
* Helps in maintaining **accurate visitor statistics**.

### **7. Email Notifications**

* **Enable Email - Agency**: Send an email notification to **Agencies** when an **Agent submits a listing**.
* **Enable Email - Admin**: Send an email to **Admin** when an **Agency or Incharge** submits a listing.

### **8. Admin Approval Settings**

* **Should Admin Approve Listings?**
  * **Yes** → Admin must manually approve **each listing** before publishing.
  * **No** → Listings are published automatically.
* **Should Admin Approve Agents?**
  * **Yes** → Admin must approve **each agent** before they can submit listings.
  * **No** → Agents can start listing without admin approval.

### **9. Agent Permissions**

* **Allow "Agent" to "Add Listing"?**
  * **Yes** → Agents can submit new listings.
  * **No** → Only agencies can submit listings.

### **Final Notes**

* These settings **help customize how your directory functions**, ensuring proper control over **listings, user roles, and notifications**.
* Make sure to **save changes** after updating settings.
