[wp-meta] [Making WordPress.org] #4339: Add support for Jetpack's Content Options to enable featured images in CampSite theme
Making WordPress.org
noreply at wordpress.org
Tue Mar 26 20:59:52 UTC 2019
#4339: Add support for Jetpack's Content Options to enable featured images in
CampSite theme
-------------------------------------+---------------------
Reporter: ryelle | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: WordCamp Site & Plugins | Resolution:
Keywords: has-patch |
-------------------------------------+---------------------
Changes (by ryelle):
* keywords: => has-patch
Comment:
[attachment:"4339.diff"] adds the Content Options support for posts,
pages, and home/archives, and adds the featured image to each template
part.
The `( ! is_single() || is_singular( 'post' ) )` condition in `template-
parts/content.php` is there so that the featured image is not displayed on
custom post types, since the Content Options don't have a way to control
those specifically (it's grouped in with the "Display on single posts").
If you apply the patch, you should see no difference on existing sites,
but now there's a Content Options section in the customizer. Turning on
each checkbox should display featured images on the respective condition.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4339#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list