Description
Metronyx Headless CMS Connector provides a clean, secure REST API to connect your WordPress content with any frontend framework. Perfect for developers building modern web applications with Next.js, React, Vue, Angular, or any other frontend technology.
Key Features
- Clean REST API – Simple endpoints for posts, pages, and content
- Advanced Content Delivery – Optimized for modern headless CMS implementations
- CORS Support – Configured for secure frontend framework connections
- Framework Agnostic – Works with Next.js, React, Vue, Angular, and any frontend
- SEO Optimized – Built-in meta fields and structured data for better search performance
- Enterprise Security – Built-in security features, input validation, and rate limiting
- Complete Documentation – Built-in API docs and usage examples
Security Features
This plugin has been thoroughly audited and includes:
- Input validation and sanitization
- CSRF protection with nonce verification
- XSS prevention with output escaping
- Rate limiting and pagination limits
- CORS security with strict origin validation
- Path traversal protection
- Proper capability checks for admin functions
API Endpoints
Posts & Pages:
* GET /wp-json/metronyx-connector/v1/posts – All posts with pagination
* GET /wp-json/metronyx-connector/v1/posts/{slug} – Single post by slug
* GET /wp-json/metronyx-connector/v1/posts/featured – Featured posts only
* GET /wp-json/metronyx-connector/v1/pages – All pages
* GET /wp-json/metronyx-connector/v1/pages/{slug} – Single page by slug
Categories & Tags:
* GET /wp-json/metronyx-connector/v1/categories – All categories
* GET /wp-json/metronyx-connector/v1/tags – All tags
Coming Soon:
* Advanced e-commerce endpoints (future releases)
* Enhanced content filtering and search
* Multi-site headless architecture support
Data Structure
Each post/page includes:
* Basic content (title, slug, content, excerpt)
* SEO metadata (title, description, canonical URL)
* Featured images with multiple sizes
* Categories and tags
* Author information
* Custom meta fields
Future releases will include:
* Advanced content filtering and search capabilities
* Enhanced SEO metadata and structured data
* Multi-language content support
* Custom post type integration
* Performance analytics and insights
Usage Example
// Fetch all posts
const posts = await fetch('/wp-json/metronyx-connector/v1/posts')
.then(res => res.json());
// Fetch single post
const post = await fetch('/wp-json/metronyx-connector/v1/posts/your-post-slug')
.then(res => res.json());
// Next.js example
export async function getStaticProps({ params }) {
const post = await fetch(`${process.env.WORDPRESS_API_URL}posts/${params.slug}`)
.then(res => res.json());
return { props: { post } };
}
Professional Services
Need someone to run SEO and AI Search Optimization for your headless WordPress build?
The team behind this plugin is Metronyx AI, a managed SEO + AEO agency. We do the technical SEO foundation (titles, metas, schema, sitemaps, indexation) plus the AI search layer for headless and decoupled setups:
- Full-Stack SEO + AEO – Technical SEO foundation plus AI search optimization for ChatGPT, Perplexity, Gemini, and Claude
- Headless Architecture Support – REST API design, frontend-backend decoupling, deployment pipelines for Next.js, React, or Vue
- Schema & Structured Data – Engineered to feed AI engines machine-readable signals they actually use
- AI Crawler Management – Strategic robots.txt, server directives, and crawler config so GPTBot, ClaudeBot, and PerplexityBot can actually access your content
- AEO-BLUF Content Creation – Bottom Line Up Front content engineered for AI citation extraction
- Entity Building & Brand Mentions – Off-site signals across Reddit, YouTube, and industry directories to build entity trust
- Competitor Citation Tracking – See where rivals appear in AI answers that you don’t
- Link Building & Weekly Reporting – Real backlinks, real reports, real progress
What’s different: smart onboarding. We start executing day one, not after a month of paperwork. Most clients see citations climbing within 90 days. Typical agencies take 12 months to even start.
Every client gets a self-contained dashboard tracking citations across ChatGPT, Perplexity, Gemini, and Claude in real time.
Learn more at metronyxai.com or get a free AI Visibility Audit.
Developer
Built and maintained by Arielle Phoenix (ariellephoenix.com).
AI SEO and headless WordPress solutions by Metronyx AI (metronyxai.com).
Screenshots
Installation
- Upload the plugin files to
/wp-content/plugins/metronyx-headless-cms-connector/ - Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to Headless CMS in your WordPress admin menu
- Configure your frontend URL and CORS settings in Headless CMS Setup
- Start using the API endpoints in your frontend application
FAQ
-
What frontend frameworks does this work with?
-
This plugin works with any frontend framework that can make HTTP requests, including Next.js, React, Vue.js, Angular, Nuxt.js, Gatsby, and more.
-
Does this plugin support e-commerce?
-
E-commerce functionality is planned for future releases. Currently, the plugin focuses on content delivery for posts, pages, and taxonomies.
-
Is this plugin secure?
-
Yes, this plugin follows WordPress security best practices including input sanitization, output escaping, nonce verification, and proper capability checks.
-
Can I customize the API responses?
-
The plugin returns full content data in each API response. For custom modifications, you can use WordPress hooks and filters.
-
How do I set up CORS for my frontend?
-
Go to Headless CMS Setup and enter your frontend URLs in the CORS Origins field (one per line).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Metronyx Headless CMS Connector” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Metronyx Headless CMS Connector” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.4
- Fixed: Content rendering now uses get_the_content() pipeline instead of direct apply_filters for Plugin Check compliance
- Fixed: Added phpcs:ignore for meta_query usage with explanatory comment
- Improved: Content rendering includes do_blocks() support for block editor content
1.0.3
- Fixed: Plugin URI changed to root domain to prevent timeout during WP.org review checks
- Fixed: Inline JavaScript migrated from raw tag to wp_add_inline_script() for enqueue compliance
- Fixed: AJAX action renamed from dismiss_metronyx_welcome_notice to metronyx_dismiss_welcome_notice for proper prefix ordering
- Updated: Nonce action string updated to match new AJAX action name
1.0.2
- Fixed: Plugin URI now points to a live public page
- Fixed: Contributors field matches WordPress.org username
- Improved: Added explicit inline comments on all permission_callback declarations to clarify intentional public access for read-only published content endpoints
- Removed: Unused Coming Soon” products endpoint comment
1.0.1
- Fixed: Added wp_unslash() to all $_POST values before sanitization
- Fixed: Escaped output variables in welcome notice (esc_attr, esc_html)
- Fixed: Added isset() check on nonce verification in dismiss handler
- Updated: Tested up to WordPress 6.9
- Updated: Tags trimmed to 5 per WordPress.org guidelines
1.0.0
- Initial release
- Clean REST API for posts, pages, categories, and tags
- CORS support for frontend frameworks
- Security features and input validation
- Admin interface with built-in documentation and usage examples
- Custom meta fields for SEO and content settings



