[theme-reviewers] A Question About Theme Review/Submission

Otto otto at ottodestruct.com
Wed May 25 01:19:23 UTC 2011


On Tue, May 24, 2011 at 7:45 PM, Edward Caissie
<edward.caissie at gmail.com> wrote:
> It would simply require appropriate conditionals be added to the Theme
> checking for the existence of your plugin that will be doing all of the
> heavy lifting.

Ideally, one would hope that the plugin piece adds appropriate
template rules. For example, it would call thread.php for a forum
thread request, or forum.php to display a whole forum. Maybe
ticket.php to display a ticket.. This would allow for a much simpler
approach to theme design suited to these extension type plugins.

One could postulate the use of get_template_part() and
get_query_template() for this as well. With proper use of the
template_include filter and query processing (via rewrite rules), a
plugin could easily define its own special templates, with fallbacks
for themes that don't support it.

-Otto


More information about the theme-reviewers mailing list