WP Manifestindependent plugin directory
manifest / integrations / nextpress-wp-plugin-dist

NextPress

Render WordPress Gutenberg content 1:1 in Next.js. Extends WPGraphQL with enqueued asset queries for headless WordPress implementations.

★ 0stars
40composer installs

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/axistaylor/nextpress-wp-plugin-dist/archive/refs/heads/main.zip

On Packagist as axistaylor/nextpress:

composer require axistaylor/nextpress
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

NextPress WordPress Plugin

WPGraphQL extension that exposes the data a headless Next.js frontend needs to render Gutenberg content 1:1 with the WordPress backend: per-URI enqueued scripts and stylesheets, theme.json globalStyles, font faces, the import map, and the resolved content body.

This is the WordPress half of NextPress. The matching Next.js consumer ships as the @axistaylor/nextpress npm package.

Requirements

Installation

Via Composer (recommended)

The plugin is published on Packagist as axistaylor/nextpress and registered as a wordpress-plugin type, so Composer-managed WordPress installs (Bedrock, johnpbloch/wordpress, or any setup that has composer/installers configured) will land it in wp-content/plugins/nextpress/ automatically:

composer require axistaylor/nextpress

To pin to a specific version:

composer require axistaylor/nextpress:^1.2

If your site doesn't already have composer/installers set up, add it alongside the plugin and tell composer where wordpress-plugin packages belong:

{
  "require": {
    "axistaylor/nextpress": "^1.2",
    "composer/installers": "^2.0"
  },
  "extra": {
    "installer-paths": {
      "wp-content/plugins/{$name}/": ["type:wordpress-plugin"]
    }
  }
}

Then activate the plugin:

wp plugin activate nextpress

Manual installation

Download the latest nextpress.zip from the Releases page and upload it via Plugins → Add New → Upload Plugin in your WordPress admin, or extract it into wp-content/plugins/nextpress/ directly.

What it exposes via WPGraphQL

After activating the plugin, the WPGraphQL schema gains:

  • assetsByUri(uri: String!) — enqueued scripts, stylesheets, and import map for a specific URI, simulated as if WordPress had rendered that page.
  • globalStyles — theme.json compiled stylesheet, custom CSS, rendered @font-face declarations, and structured font-face data.
  • templateByUri(uri: String!) — body classes, resolved content, and node-by-URI info for a single URI.

See the WordPress plugin docs for the full schema reference and example queries.

License

GPL-3.0-or-later.