Skip to:
Content
Pages
Categories
Search
Top
Bottom

Calling functions outside


  • kannued
    Participant

    @kannued

    I want to login function on a straight html page that is outside of the bbpress .9 standalone. Once the person logsin, then they are moved to the front-page.

    I used this in the html page

    <?php login_form(); ?>

    and of course I get an error, Fatal error: Call to undefined function login_form()

    In straight html, I would code the full url. How can I call this function from outside of its directory? What is the full function path?

Viewing 1 replies (of 1 total)

  • chrishajer
    Participant

    @chrishajer

    If you include bb-load.php in that file, you will have access to bbpress functions. Why not do something like this in that page:

    require_once(/full/path/to/bbpress/bb-load.php)

Viewing 1 replies (of 1 total)

You must be logged in to reply to this topic.