WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #38615, comment 27


Ignore:
Timestamp:
11/19/2016 05:32:18 AM (3 years ago)
Author:
helen
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #38615, comment 27

    initial v1  
    33* These images in `twentyseventeen/assets/images`: http://s.hyhs.me/iAFm
    44* To set the `fresh_site` option to `1` (if you are a wp-cli user, `wp option set fresh_site 1`).
    5 * Load up the customizer and see something that hopefully looks like this (except with the default header image): http://s.hyhs.me/iAfl
     5* Load up the customizer to view Twenty Seventeen (both as the active theme and not) and see something that hopefully looks like this (except with the default header image): http://s.hyhs.me/iAfl
    66
    77What this patch should get you is featured images set for each of those pages that are homepage sections. These attachments are sideloaded from within the theme directory and are set to `auto-draft` so they don't appear in the media library until you save your changes; otherwise, they should stay hidden and later be garbage collected. It also happens to enable page templates to be set; to test that, you will want to make a page template inside the `twentyseventeen` directory and add `'template' => 'sample-page-template.php'` (or whatever the filename is) to one of the non-blog page/post definitions in `functions.php`.