Hi. I am new at this but is there anyway I can make index.php simply call for the only forum I have? Effectively having forum.php automatically call for id="1" and have that be my index?
bbPress support forums » Troubleshooting
Make Index.php load Forum id="1"?
(2 posts)-
Posted 1 year ago #
-
Nevermind I figured it out. If you wan to do this open Index.php and replace:
do_action( 'bb_index.php', '' );
if (file_exists( BBPATH . 'my-templates/front-page.php' ))
require( BBPATH . 'my-templates/front-page.php' );
else require( BBPATH . 'bb-templates/front-page.php' );With:
`
do_action( 'bb_index.php', '' );if (file_exists( BBPATH . 'my-templates/forum.php' ))
require( BBPATH . 'my-templates/forum.php' );
else require( BBPATH . 'bb-templates/forum.php' );'Posted 1 year ago #
Reply
You must log in to post.