Skip to:
Content
Pages
Categories
Search
Top
Bottom

Calling BP Pages From Within WP Themes?


  • wordpressfan
    Participant

    @wordpressfan

    I want to use a WP theme for my BP home page. I need to have a registration link that sends people to BP’s registration page (www.mysite.com/registration) rather than WP’s registration page. What BP magic is needed to send new registrations to the BP page, rather than WP’s?

    (I get the right registration page only when the BP default home page is active.)

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

  • modemlooper
    Moderator

    @modemlooper


    wordpressfan
    Participant

    @wordpressfan

    That only sends me to the WP login/register page. Here is how the URL http://www.site/subdir/register translates:

    wp-login.php?redirect_to=http://site.com/subdir/subdir/register

    I want to send users to the BP registration page.


    wordpressfan
    Participant

    @wordpressfan

    Odd. My BP site is a subdirectory of my main URL. So I have my main site (WP) and a subdirectory (WPMU) and BP. If I put the registration link in the WPMU blog (that serves as BP’s main page) the link is broken, redirecting to the WPMU login screen.

    However, if I place the BP registration link in a WP site, the link to the BP registration page works without a problem.

    You need to copy the relevant stuff from within BuddyPress’ theme’s functions.php into the functions.php of the active theme (unless your new theme is a child theme of BuddyPress).


    wordpressfan
    Participant

    @wordpressfan

    Thanks. Would function bp_show_register_page() allow my wpmu site to display the bp registration page? Until 1.1 is released, I’m using 1.03’s hometheme/member theme construct.

    yes


    wordpressfan
    Participant

    @wordpressfan

    Hm. I added the function to the WPMU theme’s functions.php file, then used this link to point to the bp register page. Instead of the correct page, it returns a 404. This forces me to either use the bphome theme or call the register page from a WP (not WPMU) site.

    The parent/child ability sounds promising, but I’m not sure how stable the svn version is — and don’t want to wait until next month for the official 1.1 release.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Calling BP Pages From Within WP Themes?’ is closed to new replies.
Skip to toolbar