Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

# Real Estate YAM Importer for WordPress

Real Estate YAM Importer is a custom WordPress plugin designed to synchronize real estate properties from an external platform (Alter State / YAM) into WordPress.  
Originally built for a real-estate theme, this plugin can be adapted to any WordPress site using a `property` custom post type.

The plugin integrates property metadata, images, and external identifiers, and provides an admin UI for triggering synchronization actions manually.

---

## 🚀 Features

### 🔌 External Platform Synchronization
- Sync properties from a remote Real Estate provider (Alter State / YAM).
- Assign an `alter_state_uid` to each WordPress property.
- Fetch and update remote property details on demand.

### 🛠 Admin Meta Box: “Sync with Alter State”
Automatically added to:
- `property` post type  
- `post` (for compatibility with legacy theme requirements)

The meta box includes:
- Display of the external `alter_state_uid`
- Action buttons for:
  - **Synchronize property**
  - **Update property**
  - **Import remote images**
  - **Refresh property metadata**

### 🧱 Built on WordPress Plugin Boilerplate
The plugin uses the WordPress Plugin Boilerplate structure, including:
- Organized OOP architecture
- Separate `admin` and `public` logic
- A loader to register hooks
- Activation/Deactivation handlers
- i18n-ready structure

---

## 🗂 Directory Structure

real-state-yam-importer/
├── admin/
│ ├── class-real-state-yam-importer-admin.php
│ └── partials/
├── includes/
│ ├── class-real-state-yam-importer.php
│ ├── class-real-state-yam-importer-activator.php
│ ├── class-real-state-yam-importer-deactivator.php
│ ├── class-real-state-yam-importer-i18n.php
│ └── class-real-state-yam-importer-loader.php
├── public/
│ └── class-real-state-yam-importer-public.php
├── real-state-yam-importer.php
└── README.md

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages