Skip to:
Content
Pages
Categories
Search
Top
Bottom

Embedding bbpress forums into a static webpage using


  • Recronin
    Member

    @recronin

    Hello,

    I saw a somewhat similar post on here about integrating bbpress into wordpress pages, but what I want to do is relatively simpler than that.

    Basically all I want to do is to “embed” a given bbpress forum into a static webpage. I’d like to not have the top header and all of the navigational links appear, but I’ll take what I can get for now ; P

    Using the <php include> tag I was able to embed a forum into a webpage, but the problem is that the area I want to embed into is 500px wide. The bbpress forum is inside of that area but also spills out onto the rest of the page. The php include is being placed into a <div> area and I want the width fixed while the height changes based on how much content is inside it.

    My code looks like:

    <?php include(‘http://example.com/forums/forum.php?id=12′); ?>

    I’m sure the best way to do what I want would be something like:

    <?php include(‘../forums/forum.php?id=12′/main_forum); ?>

    but I’m not too sure.

    Any ideas?

    Thank you!

    Adam Lawton

Viewing 2 replies - 1 through 2 (of 2 total)

  • Ryan Hellyer
    Participant

    @ryanhellyer

    You would need to iframe it to do that. A basic include would not work in that way.


    Rohan Kapoor
    Member

    @rohan_kapoor

    Yeah an iframe would do the job properly and it wouldn’t look ugly either, :P

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.