Customizing edu-clean theme

Hiya,

We are using ‘edu-clean’ as our home theme and buddypress default ‘bpmember’ theme for the buddypress part.

However, we do like how the sign-up page appears in the buddypress ‘bphome’ theme. Love the way the registration part appears on the left side of the page and the rest of the widgets in the centre and right sidebars.

How can we incorporate the same layout on our edu-clean registration page? I guess it uses the default wp-signup.php. Is there any way to build a custom registration page much like ‘bphome’ and redirect users to it?

Something tells me this could be much simpler than it is in my mind, but not sure how it can be done. Any suggestions here please?

Regards,

Sib.

  • indianbill007
    • Flash Drive

    Hiya Andrew,

    Yes, I thought as much.

    However, I was able to get this working to some extent. This code snippet is what I wanted. I put it in functions.php:

    function ge_no_wp_signup()

    { if ( ! empty( $_SERVER ) && 'wp-signup.php' == basename( $_SERVER ) )

    wp_redirect( 'register-2' );

    }

    add_filter( 'wp', 'ge_no_wp_signup', 0 );

    ‘register-2’ is the slug of my custom register page which is using a custom page template based on register.php from ‘bphome’ theme. I registered the widgets used in my registration page with ‘edu-clean’ and now I have a signup page similar to bphome’s.

    Strangely, earlier when I tried putting in regular ‘register’ as the slug it just kept redirecting me to wp-login.php. It worked fine when I changed the slug. Could it have something to do with BP?

    Also, right now the css of my signup page is off, I want the exact same css as bphome’s. However, there are conflicts in the HTML elements. Is there any way I can make my custom edu-clean registration page use bphome’s css instead of the theme’s?

    Thanks,

    Sib.

  • Andrew
    • Champion of Loops

    Hiya,

    Could it have something to do with BP?

    Possibly. Disable BP and see if the ‘problem’ still exists.

    Is there any way I can make my custom edu-clean registration page use bphome’s css instead of the theme’s?

    You could edit the theme header.php and include a different stylesheet on the registration page.

    Thanks,

    Andrew