Vectoron provides three main features:
1. REST API Endpoints
Secure REST API endpoints for external content management, perfect for integrating with automation platforms like Superblocks, Zapier, or custom applications.
- Create and update posts programmatically
- Manage categories
- Upload media (file upload, base64, or URL)
- Full authentication support (Basic Auth or custom headers)
2. Content Shortcodes
The [vectoron_article] shortcode provides:
- Automatic wpautop disabling for custom HTML content
- Built-in GA4 event tracking
- FAQ accordion styling support
3. ACF Integration
Automatically sync post content to Advanced Custom Fields:
- Settings page under Settings > Vectoron
- Auto-detect WYSIWYG fields in ACF field groups
- Support for Flexible Content, Repeaters, and Groups
- ACF sync triggered by Vectoron API or X-Vectoron-Sync header
- Works with both custom Vectoron API and native WP REST API
4. Page Builder Integrations
Seamless integration with popular WordPress page builders:
- Elementor: Auto-sync content to Elementor’s text-editor widgets
- Beaver Builder: Auto-sync content to Beaver Builder’s rich-text modules
- DIVI: Auto-sync content to DIVI’s shortcode format (sections, rows, columns, text modules)
- WP Bakery: Auto-sync content to WP Bakery’s shortcode format (rows, columns, column_text)
- Configurable sync modes: Auto (detect existing builder posts), Always (convert all posts), or Disabled
- Cache clearing for immediate visual updates
5. SEO Plugin Integrations
Automatic SEO metadata sync with popular SEO plugins:
- Yoast SEO: Sync meta description, SEO title, and focus keyword
- SEOpress: Sync meta description, SEO title, and target keyword
- Rank Math: Sync meta description, SEO title, and focus keyword
- All SEO fields set via API are automatically synced to the active SEO plugin
API Endpoints
All endpoints use the namespace vectoron/v1:
POST /wp-json/vectoron/v1/posts – Create a new post
PUT /wp-json/vectoron/v1/posts/{id} – Update an existing post
POST /wp-json/vectoron/v1/categories – Create a category
POST /wp-json/vectoron/v1/media – Upload media
GET /wp-json/vectoron/v1/status – Health check (no auth required)
Authentication
Three authentication methods are supported:
- HTTP Basic Auth – Standard username:password
- Authorization Header –
Authorization: Basic <base64>
- Custom Headers –
X-WP-Username and X-WP-Password
ACF Sync Header
When using the native WordPress REST API (/wp-json/wp/v2/posts) instead of the Vectoron custom API, you can trigger ACF sync by adding the X-Vectoron-Sync header:
X-Vectoron-Sync: true
This is useful when:
- You want to use WordPress’s native post creation/update endpoints
- Your integration already uses the WP REST API
- You need features only available in the native API
Without this header, native WP REST API requests will NOT trigger ACF sync, ensuring Gutenberg and other WordPress interfaces don’t interfere with ACF content.
Security Features
- Rate limiting (60 requests/minute per IP)
- Capability-based permission checks
- SSRF protection for URL uploads
- Input sanitization and validation
- Protected meta key filtering