Specialty Plasma Import (DEBUG VERSION)
Specialty Plasma Import plugin for WordPress - handles direct content injection from React Plasma Wizard Step 70
by Plasma Team · github.com/transatlanticvoyage/specialty-plasma-import
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/transatlanticvoyage/specialty-plasma-import/archive/refs/heads/main.zipWordPress plugin for direct content injection from React Plasma Wizard Step 70.
Overview
This plugin provides specialized import functionality for plasma content, separate from Grove's plasma_import_mar page. It handles direct API requests from the React application and ensures proper integration with WordPress and the wp_pylons system.
Features
- Direct Content Injection: Handles pages and posts import via AJAX and REST API
- Driggs Data Integration: Stores driggs data in
wp_zen_sitesprentable (not wp_options) - Pylon Management: Creates 1:1 wp_posts to wp_pylons relationships
- Blog Post Mapping: Maps
page_archetype='blogpost'topost_type='post' - Date Handling: Properly handles future/past blog post dates with appropriate
post_status - Silkweaver Compatible: Works with Silkweaver menu system
- Separate from Grove: Independent of Grove's plasma_import_mar functionality
API Endpoints
AJAX Handler
POST /wp-admin/admin-ajax.php
action=plasma_import
import_type=pages|driggs
api_key=dev-key-12345
REST API
POST /wp-json/plasma/v1/import
Content-Type: application/json
X-API-Key: dev-key-12345
Installation
- Upload the plugin folder to
/wp-content/plugins/ - Activate the plugin in WordPress admin
- Plugin will automatically handle imports from Step 70 of Plasma Wizard
Requirements
- WordPress 5.6+ (for Application Password support)
- wp_zen_sitespren table (provided by Ruplin plugin)
- wp_pylons table (provided by Ruplin plugin)
Database Integration
wp_zen_sitespren
Stores driggs data for site configuration and Silkweaver menu placeholders.
wp_pylons
Creates corresponding pylon records for each imported page/post with proper archetype mapping.
Post Status Logic
- Regular pages/services: Always
post_status = 'publish' - Past blog posts:
post_status = 'publish'with specified date - Future blog posts:
post_status = 'future'(scheduled) - Service pages with dates: Ignores date, always published
Version
1.0.0 - Initial release
Author
Plasma Team