Opened 15 years ago
Closed 14 years ago
#17032 closed enhancement (wontfix)
Twenty Ten Theme - Widget Enhancement
| Reported by: | rozani | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Bundled Theme | Version: | 3.1 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
separate twentyten_widget_innit into twentyten_sidebar_widget_innit and twentyten_footer_widget_innit for the ease of child theme creation
Attachments (1)
Change History (5)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
separate twentyten_widget_innit into twentyten_sidebar_widget_innit and twentyten_footer_widget_innit for the ease of child theme creation.
Draftly, modification as below. For details, see attachment.
Original widget function:
function twentyten_widgets_init() {Separate widget function to sidebar and footer
function twentyten_sidebar_widgets_init() { function twentyten_footer_widgets_init() {Also, change the innit function.
Originally.
add_action( 'widgets_init', 'twentyten_widgets_init' ); {{{ Separate innit to sidebar innit and footer innit. }}} add_action( 'widgets_init', 'twentyten_sidebar_widgets_init' ); add_action( 'widgets_init', 'twentyten_footer_widgets_init' );