Guide

PRC Art Direction

Multi-slot featured images for Pew Research Center posts. Editors assign distinct images to named slots (A1–A4, XL, social) instead of stretching one featured image into every layout.

Package: @prc/art-direction Source: plugins/prc-art-direction/

Editors use the Art Direction sidebar and pre-publish checklist. Themes and blocks read slot data from the art_direction REST field or the PHP API. Maintainers own fallback, Yoast, and Distributor integrations.

Choose a path

Who are you?

Start with the guide that matches your work.

Documentation

For editors

For maintainers

  • Architecture — meta, fallback, core/post-featured-image, Yoast, Distributor
  • Troubleshooting — panel missing, frontend fallback, OG cache, Distributor

For consumers

  • REST APIart_direction field and GET /art-direction/get/{post_id}

Was this helpful?