WP Manifestindependent plugin directory
manifest / content / cpt-taxonomy-syncer

CPT-Taxonomy Syncer

★ 1stars
94release downloads
≈10active sites
v1.4.3latest · 7d ago

Install

Download cpt-taxonomy-syncer.zip From the v1.4.3 release on GitHub, Oct 15, 2026

Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/philhoyt/cpt-taxonomy-syncer/releases/download/v1.4.3/cpt-taxonomy-syncer.zip
Updates itself. It ships its own updater (Plugin Update Checker), so new versions appear under Dashboard → Updates.

A WordPress plugin that automatically syncs Post Types with Taxonomies, creating shadow taxonomies and bidirectional relationships with block editor integration for displaying related content.

Features

Automatic Synchronization

  • Creates corresponding taxonomy terms when posts are created (and vice versa)
  • Updates titles and content between synced posts and terms
  • Deletes corresponding items when one is removed
  • Prevents duplicate creation and orphaned data

Shadow Taxonomy System

  • Creates a taxonomy that mirrors your post type, enabling powerful relationship queries
  • Leverages WordPress's taxonomy system for organizing and querying related content
  • Maintains the flexibility of custom post types while providing taxonomy-based relationships

Block Editor Integration

  • Adds "Use synced relationship" toggle to Query Loop blocks and Relationship Query Loop block variation
  • Displays posts that share taxonomy terms with the current post using the shadow taxonomy relationship
  • Custom Ordering: Drag-and-drop interface to reorder related posts per relationship
  • Previous/Next Post Blocks: Custom navigation blocks that respect custom ordering
  • Menu Order Fallback: Automatically uses menu_order when custom order hasn't been set

Admin Tools

  • Settings page at Tools → CPT-Tax Syncer
  • Add/remove CPT-taxonomy sync pairs
  • Manual bulk sync operations for existing content
  • Optional archive redirection from taxonomy pages to post pages
  • Relationships Dashboard: Per post-type dashboard showing parent-to-child relationships with drag-and-drop ordering

Installation

  1. Download the latest cpt-taxonomy-syncer.zip from the GitHub Releases page
  2. In your WordPress admin, go to Plugins → Add New Plugin
  3. Click Upload Plugin and select the downloaded .zip file
  4. Click Install Now, then Activate Plugin
  5. Configure at Tools → CPT-Tax Syncer

Usage

Setup

  1. Go to Tools → CPT-Tax Syncer
  2. Click Add New Pair
  3. Select your Post Type and Taxonomy
  4. Click Save Changes
  5. Use sync buttons for existing content

Block Editor

  1. Add a Query Loop or Relationship Query Loop block to any template
  2. In block inspector, find Synced Relationships panel
  3. Toggle "Use synced relationship"
  4. Select target post type from Query Loop settings
  5. Optionally enable "Use custom order" to respect the order set in the Relationships dashboard

Custom Ordering

  1. Navigate to your post type's admin menu (e.g., Posts → Relationships)
  2. View all parent posts and their related posts
  3. Drag and drop related posts to reorder them
  4. The custom order is automatically saved and used by Query Loop blocks and Previous/Next Post blocks

Previous/Next Post Navigation

  1. Add Previous Post (Relationship) or Next Post (Relationship) blocks to your templates
  2. Select the relationship pair to use for navigation
  3. Optionally enable/disable custom order
  4. Customize the link text (default: "Previous:" or "Next:")
  5. Navigation respects the custom order set in the Relationships dashboard

Development

This plugin uses @wordpress/scripts for building JavaScript assets. See BUILD.md for build instructions.

Quick Start

npm install
npm run build

Changelog

1.3.0

  • Fixed critical uninstall.php fatal error caused by an undefined constant
  • Fixed duplicate REST route registrations when multiple CPT-taxonomy pairs are configured
  • Fixed sync_post_update_to_term() ignoring the authoritative post meta relationship
  • Fixed shared static $is_deleting/$is_updating flags breaking multi-pair sync
  • Fixed get_post_type_relationships() returning posts from unrelated post types
  • Fixed unescaped $wrapper_attributes output in block render templates
  • Replaced nested ternary in Relationships Dashboard with a readable variable
  • Removed unused SelectControl import from Relationship Query Loop variation
  • Added missing @package tags and corrected inline comment style in render templates
  • Full linting pass: zero PHPCS errors, zero ESLint errors

1.2.0

  • Custom Ordering System: Drag-and-drop interface for reordering related posts per relationship
  • Relationships Dashboard: Per post-type dashboard showing parent-to-child relationships
  • Previous/Next Post Blocks: Custom navigation blocks with relationship-based ordering support
  • Menu Order Fallback: Automatic fallback to menu_order when custom order isn't set
  • Major performance improvements with transient caching for relationship queries
  • Implemented query result caching with automatic invalidation
  • Optimized REST API endpoints to eliminate N+1 query problems
  • Added comprehensive developer hooks and filters for extensibility
  • Improved static cache management with TTL-based expiration
  • Enhanced developer reference section with meta key values
  • Fixed admin.js with batch processing and progress indicators

1.1.0

  • Major performance improvements with optimized bulk sync operations
  • Implemented batch processing with REST API endpoints
  • Fixed duplicate post title handling
  • Added admin columns and synced post information
  • Full internationalization support

1.0.0

  • Initial release

Requirements

  • WordPress 6.7+
  • PHP 7.4+
  • Node.js 14+ (for building assets)

License

GPL v2 or later

Releases

8 releases. Each count is every asset in that release; expand a row for the breakdown.

Tag
Published
Assets
Downloads
v1.4.3 latest
Oct 15, 2026 7d ago
cpt-taxonomy-syncer.zip +1 asset
2
cpt-taxonomy-syncer.zip2
readme.txt0
May 16, 2026 5mo ago
cpt-taxonomy-syncer.zip +1 asset
8
cpt-taxonomy-syncer.zip8
readme.txt0
May 16, 2026 5mo ago
cpt-taxonomy-syncer.zip +1 asset
8
cpt-taxonomy-syncer.zip8
readme.txt0
May 16, 2026 5mo ago
cpt-taxonomy-syncer.zip +1 asset
5
cpt-taxonomy-syncer.zip5
readme.txt0
Mar 3, 2026 7mo ago
cpt-taxonomy-syncer.zip
2
Dec 11, 2025 10mo ago
cpt-taxonomy-syncer.zip
15
Nov 20, 2025 11mo ago
cpt-taxonomy-syncer.zip
52
Oct 8, 2025 1 year ago
cpt-taxonomy-syncer.zip
2

Active-site estimate ≈10 comes from the median of recent superseded releases. Method.