I'm making website using wordpress and bbPress intergrated together. I want to put a login form in wordpress header using <?php login_form(); ?>. What should I do?
bbPress support forums » Themes
I want to use bbPress function on Wordpress
(4 posts)-
Posted 8 months ago #
-
You need to include bbPress. To do this, make sure that your bbPress supports being integrated thoroughly with WordPress (not just users, also functions), then open your wordpress config file and at the bottom put
require_once('path/to/bb-load.php');That'll let you use the bb functions too.Posted 8 months ago # -
Thanks, Should "path/to/bb-load.php" this be like this?
"forums/bb-load.php"
I'm getting errors...
Would you explain little bit easier?Posted 8 months ago # -
It depends where your bb-load.php file is (in relation to your wordpress wp-config.php). You may find it easier to give an absolute path rather than a relative path. http://www.computerhope.com/jargon/a/absopath.htm
Posted 8 months ago #
Reply
You must log in to post.