[wp-trac] [WordPress Trac] #20509: Theme idea - generic.php
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 25 11:07:42 UTC 2012
#20509: Theme idea - generic.php
-----------------------------+------------------------------
Reporter: johnjamesjacoby | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: dev-feedback |
-----------------------------+------------------------------
Comment (by johnbillion):
There's no point in having a file such as `generic-bbpress.php` because
that's not generic. In this case, the theme would use whatever templating
hierarchy bbPress provides. The idea of the `generic.php` is so a theme
can provide a ''generic'' template for plugins which it doesn't natively
support.
+1 on falling back to `index.php`. My code above probably doesn't work as
expected, it was just to get the idea down.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/20509#comment:23>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list