Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: how do I add a custom template name to bbpress?

this is what i think can be done.. very hacky and very primitive

create a plugin which filters ‘bb_template’ for template ‘front-page.php’. check for $_GET == listplugins. if so return list-plugins.php

that will load list-plugins.php is the user goes to

go to <bbinstall>/index.php?action=listplugins

here is the plugin

add_filter(‘bb_template’,’my_plugin_change_template’);

function my_plugin_change_template($template) {

return ( ‘listplugins’ == $_GET ) ? ‘list-plugins.php’ : $template;

}

kapish?

Skip to toolbar