[wp-trac] [WordPress Trac] #38778: Only show video header controls if previewing front page
WordPress Trac
noreply at wordpress.org
Mon Nov 14 20:41:12 UTC 2016
#38778: Only show video header controls if previewing front page
--------------------------+------------------
Reporter: westonruter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Customize | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------
Comment (by joemcgill):
I would suggest that the customizer behavior should follow the expected
behavior set by the theme (see related #38738). Therefore, if the theme
has only set video header support on the front page, customizer preveiws
should only show the video header on the front page.
However, if I'm understanding the issue correctly, this is stating that we
should only show the customizer controls on pages where the video could
actually be active. If that is the case, then @flixos90 is correct, that
the same callback we're discussing in #38738 should be used for both
purposes unless there are technical reasons not to.
I wonder, however if it would be a weird user experience to see a "Header
Image" panel on internal pages and "Header Visuals" on the front page.
Would it be better to disable the controls but still show them on pages
where the video won't be shown?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38778#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list