Notifications
Clear all

Script How to set multiple boards' page ID?

7 Posts
2 Users
0 Likes
249 Views
steve
Posts: 10
Topic starter
(@steve)
Active Member
Joined: 5 years ago

If I want 2 boards in my WordPress, how to set the board's page ID?

Example:

The first board's page ID is 7, what about the second Board?

Should I add a new page(ID is 8) with[wpforo]shortcode and change the second board's page ID to 8?

Topic Tags
6 Replies
BlackRaz
Posts: 406
Admin
(@blackraz)
Contributor
Joined: 7 years ago

Hi  @xu2steve 

If your boards have the same language, use the same page template, and share the same page header and footer, it doesn't make sense to create separate pages with different IDs. However, if your pages differ in layout, for instance, with one using a light theme and the other a dark layout, you should create a new page with the content [wpforo] inside. Afterward, attach the new page ID in wpForo > Boards.

 

Reply
2 Replies
steve
(@steve)
Joined: 5 years ago

Active Member
Posts: 10

@blackraz I mean that two forums do not share the same page header and footer.

Reply
BlackRaz
Admin
(@blackraz)
Joined: 7 years ago

Contributor
Posts: 406

@xu2steve 

If you want the headers and footers of two boards to be different, you should create a new page with the [wpforo] shortcode and then attach the page ID to the second board in Dashboard > wpForo > Boards edit page. This way, each board can have its own distinct layout and appearance.

 

Reply
steve
Posts: 10
Topic starter
(@steve)
Active Member
Joined: 5 years ago

Do multiple boards support different theme?

Reply
steve
Posts: 10
Topic starter
(@steve)
Active Member
Joined: 5 years ago

@blackraz

,I tried to set two boards with different page ID and each board had a page layout, but it doesn't work, the main board works, the second board's forum index worked,  but other links like topics was redirected to the forum index

Reply
1 Reply
BlackRaz
Admin
(@blackraz)
Joined: 7 years ago

Contributor
Posts: 406

@steve 

Please provide the links where I can find this.

Reply