Preview unavailable
v1.0.2 Creator

Detailed description

The Taxonomy Content Navigation block turns a hierarchical WordPress taxonomy into accordion navigation for posts, pages, and custom post types. It detects the current post type, resolves a compatible taxonomy, displays its first-level terms, then reveals associated content when visitors select a category.

Dynamic taxonomy and CPT navigation

The block supports native WordPress categories and custom taxonomies attached to the current post type. On a single post or CPT entry, its assigned category can open automatically and the current content link receives the accessible aria-current attribute.

Fully customizable in Gutenberg

No visual design is imposed. Users control colors, backgrounds, normal, hover and active states, font families, sizes, weights, spacing, padding, indentation, and separators. Pixel values entered in Gutenberg are converted to rem in CSS.

Main features

  • Automatic post type and hierarchical taxonomy detection.
  • Manual selection from available taxonomies.
  • Root taxonomy terms only.
  • Associated content revealed on click.
  • Single or multiple open categories.
  • Automatic opening for the current content category.
  • Compatible with posts and custom post types.
  • No predefined visual style.

Performance

Zero useless scripts, Vanilla JS only.

Native Gutenberg

WCAG compliance for all users.

Creator Vanilla JS

Taxonomy Content Navigation

JS Weight

< 2kb

Version

1.0.2

WCAG

WCAG 2.1 AA

0

Likes

1

Downloads

Dependencies None
License Creator
Accessibility WCAG 2.1 AA Compliance

Vanilla JS Architecture

Guaranteed zero technical debt, optimized for Core Web Vitals.