Template integrations

POM archive, feed, and single templates are editor-owned HTML templates with context-specific merge tags. A plugin should choose whether editors own the markup or the plugin owns it in code.

Chapter contents

  1. Register templates programmatically
  2. Add code-owned output to a POM template

Use saved POM templates for editor-managed presentation. Use normal WordPress templates or a documented shortcode/filter for code-owned output. There is no general public registry for injecting arbitrary saved POM templates or merge tags.