[wp-trac] [WordPress Trac] #19238: New approach for content navigation section in themes

WordPress Trac wp-trac at lists.automattic.com
Sat Nov 12 16:06:01 UTC 2011


#19238: New approach for content navigation section in themes
-------------------------+-------------------------------------------------
 Reporter:  sirzooro     |      Owner:
     Type:  feature      |     Status:  new
  request                |  Milestone:  Awaiting Review
 Priority:  normal       |    Version:  3.3
Component:  Themes       |   Keywords:  needs-patch dev-feedback 2nd-
 Severity:  normal       |  opinion
-------------------------+-------------------------------------------------
 At this moment the only way to replace default content navigation in theme
 (previous/next posts links) is to manually edit theme files. Ticket #18585
 allows to replace this section, but its scope is limited to Twentyeleven
 and its child themes.

 Therefore I propose to introduce generic mechanism, which could be used by
 theme and plugin autors - e.g. add new `content_navigation_template()`
 theme tag. By default it should look for `navigation.php` file in theme
 directory and include it. There should be also a new filter, which could
 be used by child theme and plugin authors to provide alternate navigation
 section.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19238>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list