Skip to main content

Content Model

Documentation Posts

References are standard WordPress post entries distinguished by a meta key:

_id86_content_type = instant-documentation

The child theme filters homepage cards and the Fuse.js search index against this marker. Ordinary blog posts without it are excluded from the documentation experience.

Source Metadata

Each documentation post carries two additional meta keys for sync tracking:

KeyPurposeExample
_id86_source_pathRepository-relative Markdown source pathcode/git/git-cheat-sheet.md
_id86_source_hashSHA-256 content hash for change detectionb5a15644535cd33c42322bed4c8361285c21daf621fddcf297739b0067944aa1

Categories

The four topic categories are used consistently across the site:

SlugDisplay NameCurrent Post Count
codeCode2
devopsDevOps1
englishEnglish1
seoSEO1

Categories determine:

  • The hero quick-topic links.
  • The niche card section (4 cards, one per category).
  • The color accent on each card (via .id86-code, .id86-devops, .id86-english, .id86-seo CSS classes).
  • The category archive pages.

Post Views

Each single post view increments post_views_count post meta. This is used by the optional popular-post query via the order_by_views GenerateBlocks class.

Markdown Source Repository

The Markdown source of truth lives at:

/home/rezriz/github/ID86-instant-documentation

Repository: github.com/donnyaw/ID86-instant-documentation

Content is authored in Markdown and synchronized to WordPress. The sync tooling preserves the source path and hash metadata so updates remain idempotent.

Content Templates

Single posts use two GeneratePress Elements:

  1. #Single Post Title (ID 3663, Page Hero): Breadcrumbs, H1 title, author, date.
  2. #Single Post Content (ID 1371, Content Template): Featured image, post content, tags, related posts, comments.