Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#46629 new feature request

Allow replacing placeholders in starter content posts/pages content

Reported by: timph's profile timph Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 4.7
Component: Customize Keywords: needs-patch
Focuses: Cc:


The ability to create posts/pages doesn't really offer a whole lot of use out the gate unless a theme uses hardcoded urls for images in the content. It would be a great improvement if the same handling for placeholders in menus/theme_mods/options could be applied in context of posts/pages content.

Change History (2)

#1 @dlh
5 years ago

  • Keywords needs-patch added
  • Milestone changed from Awaiting Review to Future Release
  • Version set to 4.7

I would assume — merely off the cuff — that part of the added challenge here would be in determining how to translate the placeholder into not just an image URL, but a particular size, alignment, and now even a particular block. This as opposed to options, theme mods, or featured images, which need just the attachment ID. It's possible this challenge has ways to address it in place that I'm overlooking, though.

This ticket was mentioned in Slack in #themereview by tim. View the logs.

5 years ago

Note: See TracTickets for help on using tickets.