Vectoron
A WordPress REST API plugin for external content management with authenticated API endpoints, GA4 tracking shortcodes, and ACF integration.
Install in
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 postPUT /wp-json/vectoron/v1/posts/{id}– Update an existing postPOST /wp-json/vectoron/v1/categories– Create a categoryPOST /wp-json/vectoron/v1/media– Upload mediaGET /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-UsernameandX-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
Written by Joobi from the project's own listing. See the source page
2.13.1
- Page updates: the preview of an update to your static front page now shows it as your front page, drawn by your theme’s front-page template, so the checks compare like with like
- The status endpoint lists
front_page_previewunderpage_update - This release also carries the unreleased 2.13.0, 2.12.1 and 2.12.0 changes below
2.13.0
- Page updates: protocol 1 (nine operations), structured data on pages, title and description fallback
- Added:
/vectoron/v1/page-update/operations (export,duplicate,preview-link,apply,swap,restore,cleanup,purge,status), all POST with a JSON body and reachable through the AJAX proxy; the status endpoint lists them underpage_update - An update is built on a hidden private copy of the page (noindex, out of sitemaps), checked, and swapped in with verified raw writes; the original content is kept on the hidden copy so the update can be undone
- Structured data stored by Vectoron is now printed in the page head for pages and other post types, not only posts
- Added: an SEO title and meta description fallback, printed only when no SEO plugin is active and Vectoron has set them for that page
- Requires PHP 8.2 or later (was 7.4)
- This release also carries the unreleased 2.12.0 and 2.12.1 changes below
2.12.1
- Fixed: media deduplication lookups (
POST /vectoron/v1/media/checkand thesource_urlcheck inPOST /vectoron/v1/media) never delete anything. They used to force-delete a matching attachment whose file was not on the server’s disk, which removed live images on sites where a media-offload plugin keeps files in remote storage, and could delete the remote copy as well - An attachment now counts as existing when it is in the media library with a URL (the offloaded URL when an offload plugin is active); a leftover source-URL record whose attachment is gone is skipped instead of hiding a valid match
2.12.0
- Added:
vectoron_robotsfield (‘noindex’ or ‘index’) on page and post create/update, accepted by the Vectoron routes (/vectoron/v1/posts) and as a registered REST field on the native/wp/v2/pagesand/wp/v2/postsroutes (and therefore through the AJAX proxy) - ‘noindex’ stores a
_vectoron_robotspost meta flag that prints<meta name="robots" content="noindex, follow">inwp_head, and sets the Rank Math (rank_math_robots) or Yoast (_yoast_wpseo_meta-robots-noindex) per-page robots meta when those plugins are active - ‘index’ removes the flag and restores only the SEO meta Vectoron set, and only while it still holds the value Vectoron wrote; an owner’s own robots setting is never changed
- Used by Vectoron to keep PPC landing-page test pages out of search until they win
- The
VECTORON_VERSIONconstant (from 2.11.12) now also drives the status endpoint version and the admin stylesheet version - Fixed: the native REST fallback’s integration sync (
X-Vectoron-Syncheader) now also runs for pages, not only posts (rest_after_insert_pageis hooked alongsiderest_after_insert_post), so Yoast, SEOPress and Rank Math metadata reach pages published through/wp/v2/pages; the ACF field sync stays posts-only, as on the Vectoron routes
2.11.13
- Fixed: Content detection now matches
am-articleas substring instead of exactclass="am-article", fixing CSS/JS not loading on posts with compound class attributes likeam-article am-article-type-*
2.11.12
- Fixed: Asset version now uses VECTORON_VERSION constant for proper cache busting on plugin updates
2.11.11
- Fixed: Plugin CSS now uses @layer so theme styles always take precedence over plugin defaults
2.11.10
- Fixed: DIVI posts now inherit the site’s configured page layout (sidebar, full-width, etc.) instead of always using full-width
- Fixed: DIVI Visual Builder now recognizes Vectoron-published posts for visual editing (VB|Divi| version prefix)
- Fixed: Re-publishing a post now repairs incorrect DIVI metadata (layout, version, gutter width)
- Added:
vectoron_repair_divi_post_meta()function for retroactive repair of existing posts - Added: Supplementary DIVI meta fields (gutter_width, built_for_post_type) for full native DIVI parity
- Fixed: Exception handler now catches PHP 7+ Errors (Throwable) in DIVI sync
2.11.9
- Maintenance release: version metadata only, no functional changes
2.11.8
- Added: media dedup for publishing retries and the native REST fallback: URL uploads with a
source_urlreuse the existing attachment (stored in_vectoron_source_url), plusPOST /vectoron/v1/media/checkandPOST /vectoron/v1/media/{id}/source-url - Fixed: Elementor-synced content carries the
vectoron-contentCSS class, and Vectoron styles and scripts are detected from_elementor_datawhen Elementor rewritespost_content - Fixed: FAQ accordion also handles plain
<details>elements inside Vectoron content and starts with every item closed - Asset versions updated to the plugin version
2.11.7
- Fixed: Multiple JSON-LD schema tags (e.g. FAQPage + ItemList for listicle articles) now all render in
<head> - Previously only the first schema tag was extracted; the second was left in the content body as visible text
- The
wp_headoutput now emits one<script type="application/ld+json">per schema object - Fixed: Elementor sync no longer sets
hide_title=yesin page settings, which caused post titles to be hidden on themes that don’t render titles outside Elementor - On re-sync, existing
hide_titleis surgically removed while preserving other Elementor page settings
2.11.6
- Fixed: ACF flexible content fields empty after publish when native WP REST API (Tier 2) is used
- Root cause: save_post hook fires inside wp_insert/update_post before _vectoron_sync_pending flag can be set, causing ACF sync to exit early
- Fix: new rest_after_insert_post hook detects X-Vectoron-Sync header and re-runs ACF content sync + SEO metadata sync after native API saves
- Also fixes Yoast/SEOPress/Rank Math metadata not syncing on Tier 2 requests
2.11.3
- Fixed: Draft posts now return pretty permalinks instead of
?p=NNNugly URLs - Added
get_pretty_permalink()helper using WordPress’sget_sample_permalink()technique - Applies to both create_post and update_post API responses
2.11.2
- Added Schema Sync integration: auto-extract JSON-LD from content body into
<head> - Fixes WPBakery/Elementor/Divi rendering
<script type="application/ld+json">tags as visible text - Two-layer fix: new posts receive schema via API field, existing posts auto-migrate on first view
- Supports all three publishing tiers (Vectoron API, Native WP REST API, AJAX proxy)
- XSS-safe output via
wp_json_encode()re-serialization - Zero configuration required
2.10.3
- Added collapsible help documentation to Elementor Integration settings card
- Help section explains sync modes: Disabled (recommended for Theme Builder), Always, and Auto
- Includes quick reference table and troubleshooting tips
- Only visible when Elementor is detected on the site
2.10.2
- Fixed: Added
_elementor_page_settingswithhide_title=yesto match working Elementor posts - Without this setting, pages displayed with unstyled/default WordPress title formatting
2.10.1
- Fixed: Always use ‘wp-page’ template type for Elementor (using ‘wp-post’ caused content not to render)
- This matches the working configuration found in properly formatted Elementor posts
2.10.0
- Enhanced Elementor integration with proper metadata and modern container support
- Added
_elementor_template_typemeta field (wp-page for pages, wp-post for posts) - Added
_wp_page_templatemeta field for pages (required by Elementor) - Added
_elementor_pro_versionmeta field when Elementor Pro is installed - Smart container detection: uses modern flexbox containers (Elementor 3.6+) when enabled
- Fallback to legacy section/column structure for older Elementor or when containers are disabled
- Status endpoint now reports
containers_enabledandlayout_modefor debugging - Improved code quality: centralized container detection helper function
2.9.9
- Fixed: Page builder integrations now wrap content in
.vectoron-contentcontainer - This ensures all Vectoron CSS styles (FAQ accordions, headings, tables, etc.) work correctly
- Affects: Elementor, Beaver Builder, DIVI, and WP Bakery integrations
- Existing posts will be styled correctly on next publish/update via Vectoron API
2.9.8
- Added WP Bakery (Visual Composer) Page Builder integration for automatic content sync
- New settings card for WP Bakery sync mode configuration (Auto/Always/Disabled)
- WP Bakery status added to /status API endpoint (installed, version, sync_mode)
- Content converted to WP Bakery shortcode structure: row -> column -> column_text
- Smart detection prevents double-wrapping of existing WP Bakery shortcode content
- Full cache clearing support for WP Bakery CSS transients and custom CSS files
- Manual sync test diagnostics now include WP Bakery detection and testing
- Page builder integrations section updated in documentation
2.9.7
- New Default: Page builder sync mode now defaults to “Always” for new installations
- Elementor, Beaver Builder, and DIVI now sync ALL Vectoron-published content by default
- This fixes issues where content appeared in the page builder editor but not on the frontend
- Rationale: Vectoron creates content – there’s no existing page builder layout to protect
- Existing installations keep their current settings – no action required
- Users who manually design page builder layouts can change sync mode to “Auto” to protect them
2.9.6
- ACF WYSIWYG fields now automatically process shortcodes via
acf/format_value/type=wysiwygfilter - Shortcodes like
[vectoron_article]in ACF content are now executed when displayed viathe_field()orget_field()
2.9.5
- Shortcode detection now checks both post_content AND configured ACF field
- CSS/JS assets now load even when shortcode is only in ACF field (not in main content)
- Added
vectoron_has_shortcode()helper function for unified shortcode detection
2.9.4
- ACF auto-detection now runs on every admin page load (not just plugin activation)
- Automatically selects first WYSIWYG field if ACF is installed and no field is configured
- Fixes issue where ACF installed after Vectoron was never auto-detected
2.9.3
- Fixed sync test aborting early when only SEO plugins are installed (no page builders)
- SEO plugins (Yoast, SEOpress, Rank Math) now count as valid sync targets
- Full debug log now displays even when no page builders are configured
2.9.2
- Fixed Yoast SEO focus keyphrase not appearing in Edit Post UI
- Corrected meta key from
_yoast_wpseo_focuskeywordto_yoast_wpseo_focuskw - Updated sync test diagnostics to read and display correct meta key
2.9.1
- Minor bug fixes
2.9.0
- Added DIVI Theme and Builder integration for automatic content sync
- New settings card for DIVI sync mode configuration (Auto/Always/Disabled)
- DIVI status added to /status API endpoint (installed, version, sync_mode)
- Content converted to DIVI shortcode structure: section -> row -> column -> text module
- Smart detection prevents double-wrapping of existing DIVI shortcode content
- Full cache clearing support for DIVI static resources and builder output
- Manual sync test diagnostics now include DIVI detection and testing
- Page builder integrations section updated in documentation
2.8.0
- Added Rank Math SEO integration for automatic metadata sync
- New settings card for Rank Math SEO showing plugin status and version
- Rank Math status added to /status API endpoint (installed, version, pro)
- Manual sync test diagnostics now include Rank Math SEO detection and metadata display
- SEO integrations section added to documentation
2.7.0
- Refactored plugin into modular file structure for improved maintainability
- Extracted integrations into separate files: ACF, Elementor, Beaver Builder, Yoast SEO, SEOpress
- Moved settings page and debug utilities into includes/ directory
- Moved shortcodes and asset loading into includes/shortcodes.php
- No functional changes – all features work identically to 2.6.0
- Main plugin file reduced from ~2,700 lines to ~90 lines
2.6.0
- Added Beaver Builder integration for automatic content sync
- New settings card for Beaver Builder sync mode configuration (Auto/Always/Disabled)
- Beaver Builder status added to /status API endpoint
- Manual sync test diagnostics now include Beaver Builder detection and testing
- Page builder integrations section added to documentation
2.5.0
- Added proper output escaping for third-party version constants (WPSEO_VERSION, ELEMENTOR_VERSION, SEOPRESS_VERSION)
- Replaced mt_rand() with wp_rand() for WordPress coding standards compliance
- Security hardening per WordPress Plugin Review Team feedback
2.4.0
- Improved REST API permission callbacks for WordPress plugin review compliance
- POST /posts now properly checks
edit_pagescapability for page post type - PUT /posts/{id} now validates per-post
edit_postcapability in permission_callback - Removed unprefixed
marketing_visionary_articleshortcode (usevectoron_articleinstead) - Added defense-in-depth permission checks in update_post callback
2.1.0
- Added X-Vectoron-Sync header support for native WP REST API
- ACF sync now works with both Vectoron custom API and native WP REST API (with header)
- Gutenberg and WP Admin no longer accidentally trigger ACF sync
- Improved sync trigger documentation
2.0.0
- Added ACF Integration with Settings page (Settings > Vectoron)
- Auto-detect WYSIWYG fields from ACF field groups
- Support for Flexible Content, Repeaters, and Groups
- Auto-sync post_content to configured ACF field on save
- ACF info added to /status endpoint
1.7
- Improved input sanitization for API authentication
- Code quality improvements for WordPress Plugin Directory compliance
1.6
- Added comprehensive security hardening
- Added rate limiting for API endpoints
- Added SSRF protection for URL-based media uploads
- Added capability-based permission checks
- Added file size limits for uploads
- Improved input validation and sanitization
- Fixed authentication bypass vulnerability
1.5
- Added media upload endpoint with multiple upload methods
- Added base64 and URL upload support
1.4
- Added category creation endpoint
- Improved error handling
1.3
- Added post update endpoint
- Added custom meta field support
1.2
- Added GA4 tracking to shortcode
- Improved measurement ID detection
1.1
- Initial REST API implementation
- Basic authentication support
1.0
- Initial release with shortcode functionality
Follow this listing's changes (Atom feed)