#25028 closed feature request (fixed)
Twenty Fourteen: widgetize the Post Format front page so other widgets can go there, and Post Format widgets can be used in other sidebars
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 3.8 | Priority: | normal |
Severity: | normal | Version: | 3.8 |
Component: | Bundled Theme | Keywords: | |
Focuses: | Cc: |
Description
Instead of hardcoding the home sidebar to show two posts for each non standard format in a fixed order, widgetize it and create a widget to show any number of any post format with a custom title.
In addition to more control on the homepage, this widget would also allow the sidebar on other pages to remain identical.
Attachments (3)
Change History (19)
#8
follow-up:
↓ 9
@
12 years ago
- Keywords has-patch added
There are still some decisions to be made:
- Do we keep the sidebar on the front page exclusive to formatted posts?
- If we do, what order should the widgets have?
- Do we offer an option to change the amount of posts within the ephemera widget?
#9
in reply to:
↑ 8
@
12 years ago
Replying to obenland:
- Do we keep the sidebar on the front page exclusive to formatted posts?
I don't think so. Allow any widget to be added there.
Or, it could be that if you add any other widget, they disappear.
- If we do, what order should the widgets have?
Let them be re-ordered?
- Do we offer an option to change the amount of posts within the ephemera widget?
Yes, that'd be a nice addition.
#11
@
12 years ago
Patch is looking good, I did make one change, adding esc_attr()
on lines 237 and 238 of inc/widgets.php for outputting attributes.
#12
@
12 years ago
- Summary changed from Twenty Fourteen: give more control on the home sidebar to Twenty Fourteen: widgetize the Post Format front page so other widgets can go there, and Post Format widgets can be used in other sidebars
#13
@
12 years ago
PHP warning when adding the Ephemera widget to a sidebar: Notice: Undefined index: format in wp-content/themes/twentyfourteen/inc/widgets.php on line 232
Yes, I was working on a widget, modeled a bit after Twenty Eleven's Ephemera Widget. Patch coming shortly.