WordPress Headless CMS Plugin

Metronyx Headless CMS Connector

Launch production-ready headless WordPress builds faster with a maintained plugin that handles clean REST endpoints, CORS rules, and content metadata automation for you.

Version 1.0.4 · Requires WordPress 5.0+ · Tested with 6.9 · PHP 7.4+

🔒

Clean REST API Coverage

Serve posts, pages, categories, and tags through a locked-down namespace that stays aligned with core WordPress updates.

  • Slug-based lookups for SEO-friendly routing
  • Featured content flags and read time metadata
  • Image variants sized for hero, cards, and thumbnails
🌐

Frontend-Ready CORS Controls

Grant access to staging and production frontends instantly while keeping origin-level security tight.

  • Allow-list management directly inside WordPress
  • Localhost access for development out of the box
  • Credential support for authenticated calls

Editor-Friendly Automation

Keep marketing teams moving with automatic meta handling for featured content, read time estimates, and responsive imagery.

  • Featured content flags ready for hero placements
  • Auto-calculated read time for every post
  • Optimised image presets for hero, card, and thumbnail blocks
🔄

Cache & Revalidation Support

Trigger ISR or edge revalidation whenever editors hit publish so your Next.js build stays fresh without manual deploys.

  • Webhook endpoint field for on-demand revalidation
  • Secret token management inside the WordPress dashboard
  • Designed for Vercel, Netlify, and custom pipelines

See it inside WordPress

Every screen is designed for speed so developers and editors can collaborate without wrestling the CMS.

Metronyx Headless CMS Connector admin dashboard overview

Control everything from a dedicated WordPress dashboard with quick access to setup, docs, and content management links.

Available REST endpoints list

Preview available REST endpoints instantly and open live responses in a new tab to verify data before integrating.

WordPress setup screen with CORS and webhook configuration

Configure CORS origins, webhook URLs, and revalidation secrets without touching code.

API Endpoints

All endpoints live under the metronyx-connector/v1 namespace.

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
GET  /wp-json/metronyx-connector/v1/categories         All categories
GET  /wp-json/metronyx-connector/v1/tags               All tags

Three steps to production

🚀

1. Install and activate

Add the Metronyx Headless CMS Connector plugin to your WordPress stack and activate like any other plugin.

⚙️

2. Point it at your frontend

Drop the REST base URL, allowed origins, and optional revalidation secret into your Next.js or React environment file.

📦

3. Ship content to production

Fetch everything with a single namespace, drop content into your design system, and revalidate pages the moment editors publish.

Quick Start

// Fetch all posts
const posts = await fetch('/wp-json/metronyx-connector/v1/posts')
  .then(res => res.json());

// Fetch single post by slug
const post = await fetch('/wp-json/metronyx-connector/v1/posts/your-post-slug')
  .then(res => res.json());

// Next.js getStaticProps 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 } };
}

Data Structure

Every API response includes:

  • Basic content — title, slug, content, excerpt
  • SEO metadata — title tag, meta description, canonical URL
  • Featured images with multiple sizes (hero, card, thumbnail)
  • Categories and tags
  • Author information
  • Custom meta fields
  • Read time calculation
  • Featured content flag

💻

Built for modern stacks

Use the connector with ISR, SSR, or static builds. It plays nicely with Vercel, Netlify, and self-hosted pipelines so your infra team keeps full control.

Need even more control? Hook into the plugin filters to extend the response payload with custom fields or bespoke taxonomies.

🛡️

Enterprise support ready

Metronyx builds headless WordPress for fast-growing brands. If you need multi-region caching, custom auth layers, or AI-enriched content ops, we can help.

Get a free AI visibility audit →

Build with whatever matches your stack

Bolt.new, v0, Lovable, Cursor, Next.js, OpenAI-powered builds. Whichever IDE or framework you spin up, the connector keeps WordPress content flowing to your frontend.

Next.js
React
Vue.js
Angular
Nuxt
SvelteKit
Astro
Gatsby
Remix


Frequently Asked Questions

The connector supports WordPress 5.0 and newer and is tested with the latest 6.9 release so you can upgrade with confidence.

Built by Metronyx

This plugin is built and maintained by Arielle Phoenix, founder of Metronyx — an AI search optimization agency that helps businesses get cited by AI engines like ChatGPT, Perplexity, and Google AI Overviews.

Get a Free AI Visibility Audit →