Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress isnt the main page


  • JohnDiver
    Participant

    @johndiver

    Hey,

    I installed WP manually ( Did it with cPanel first then read that doesnt work ) and then installed buddypress by searching plugins through the wp-admin.

    I activated BP but when I go to the site it is still just a normal default WP install – I looked at the documentation but I must be missing something – Should BP be the default page when I go to the site?

    Thanks for any help

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

  • peter-hamilton
    Participant

    @peter-hamilton

    No WP is still the default until you redirect visitors through some code in your functions.php

    To make your activity page the default after login add following code to your child themes functions.php:

    define( 'BP_DEFAULT_COMPONENT', 'activity' );
    
    function login_redirect( $redirect_to, $request, $user ){
    
        return home_url('activity');
    
    }
    
    add_filter( 'login_redirect', 'login_redirect', 10, 3 );

    If you want to direct to profile page then change activity to profile.


    JohnDiver
    Participant

    @johndiver

    Hey,

    Thanks for the reply.

    I have been trying to get this working but I really am confused, I have used WP on a lot of sites but this is the first time trying BuddyPress.

    I am looking to have my homepage similar to this: http://buddy.ghostpool.com/# but also have sections of content – So it is pretty much having the activity feed – This will be the same for registered and unregistered visitors – Is that possible?

    Thanks again

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar