bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Make Index.php load Forum id="1"?

(2 posts)
  • Started 1 year ago by Basinalders
  • Latest reply from Basinalders
  • This topic is not a support question
  1. 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?

    Posted 1 year ago #
  2. 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 #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.