WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

#29578 closed enhancement (fixed)

Twenty Fourteen: Make featured content in Customizer contextual to the front page

Reported by: kdoran Owned by: ocean90
Milestone: 4.1 Priority: normal
Severity: normal Version: 4.0
Component: Bundled Theme Keywords: has-patch commit
Focuses: Cc:

Description

Featured Content options should only be available on the front page because they aren't used on other pages.

There is no active_callback capability on Customizer sections. For now we can just hide all the controls and could potentially update the help text to do that.

Attachments (1)

29578.diff (1.3 KB) - added by celloexpressions 7 years ago.
Make featured content contextual to the front page.

Download all attachments as: .zip

Change History (6)

#1 @celloexpressions
7 years ago

Worked on this at the WCLA Contributor Day and got to a patch, but decided that we need to wait for contextual sections before we can actually implement this. While we can hide most of the UI now, it doesn't make sense with the section still displayed.

@celloexpressions
7 years ago

Make featured content contextual to the front page.

#2 @celloexpressions
7 years ago

  • Keywords has-patch commit added
  • Milestone changed from Awaiting Review to 4.1

Let's show off this new feature (contextual sections and panels) in 4.1 by implementing it for Twenty Fourteen, which has a perfect use-case with featured content. See the similarly numbered #29758.

#3 @westonruter
7 years ago

  • Owner set to ocean90
  • Status changed from new to reviewing

commit +1

#4 @lancewillett
7 years ago

Tests out well. Nice change.

#5 @lancewillett
7 years ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 30143:

Twenty Fourteen: Make featured content in Customizer contextual to the front page.

Props celloexpressions, fixes #29578.

Note: See TracTickets for help on using tickets.