Anatomy of this starter blog

Written by

in

The content model

Everything you see on the blog lives in WordPress: posts, categories, tags and their translations. The frontend only knows how to render it.

Categories and tags

Both taxonomies are exposed on the REST API with their language, and the listing page turns them into filter chips automatically.

Translations

Each post can be linked to its translations with Polylang. The frontend uses those links for the language switcher and the hreflang tags.

The publishing flow

When you hit publish, WordPress notifies the frontend so the change is visible immediately:

  • WordPress fires a webhook on publish, update and unpublish
  • The frontend revalidates its cached content
  • Readers get the fresh version on the next request

Going further

Featured images, more categories, longer posts — everything you add in wp-admin shows up here with zero frontend changes.

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *