Native Driver
The Native driver allows importing data into standard WordPress objects like Posts, Pages, and any registered Custom Post Types (CPT) without needing third-party plugins.
Supported Features
Section titled “Supported Features”- Standard Posts & Pages
- Custom Post Types (CPT)
- Core WordPress fields (Title, Content, Excerpt, etc.)
- Featured Images (Thumbnails)
- Standard Categories & Tags
- Custom Taxonomies
Core Fields
Section titled “Core Fields”| Field Name | Type | Description |
|---|---|---|
post_title | Text | The title of the post |
post_content | HTML | The main content/body |
post_excerpt | Text | Short summary or excerpt |
post_status | Select | publish, draft, pending, private |
post_date | Date | Creation date (YYYY-MM-DD HH:MM:SS) |
post_author | User | Author ID, email, or login username |
post_name | Text | The URL slug (automatically generated if empty) |
post_password | Text | Password for protected posts |
menu_order | Number | Order for hierarchical types (like Pages) |
post_parent | ID | ID of the parent post (for hierarchy) |
comment_status | Select | open or closed |
ping_status | Select | open or closed |
Taxonomies
Section titled “Taxonomies”The Native driver automatically detects all registered taxonomies for the selected post type.
- Categories (
category): Map names, slugs, or IDs. Multiple values supported. - Tags (
post_tag): Map names, slugs, or IDs. Multiple values supported. - Custom Taxonomies: Any public custom taxonomy registered to the post type.
Media Handling
Section titled “Media Handling”Featured Image
Section titled “Featured Image”Map a URL to the _thumbnail_id field. UMIE will:
- Download the image
- Upload it to the Media Library
- Set it as the Featured Image for the post
Example Payload
Section titled “Example Payload”{ "post_title": "Hello World", "post_content": "<p>This is my first imported post.</p>", "post_status": "publish", "post_author": "admin", "post_date": "2023-01-01 12:00:00", "taxonomies": { "category": ["News", "Updates"], "post_tag": ["import", "umie"] }, "_thumbnail_id": "https://example.com/images/hero.jpg"}