Support » Developing with WordPress » image attachment for hello world using starter content

  • I’m developing a theme that supports starter content.I want to add an attachment image to the post “Hello world!” to show as a featured image using starter content.Problem is I cant figure out which array to use to add this attachment image.

    e.g ‘hello-world’ => array(
    ‘post_type’ =>’post’,
    ‘thumbnail’ => ‘{{sample0-featured-image}}’,)

    ‘hello-world’ doesn’t work!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.