Skip to:
Content
Pages
Categories
Search
Top
Bottom

Need Help in customizing user homepage…

  • @sandeepdude

    Participant

    Hello,

    I need help in making a customized homepage for logged in users.

    Like,When the user is not logged in,he can see only a certain widgets like members widget and groups widget in the index page.

    When he logs in,he can see other widgets like My friends, my friends online, my groups,my friends activities etc..

    How can i make this? please help..

Viewing 4 replies - 1 through 4 (of 4 total)
  • @windhamdavid

    Participant

    you could wrap the <div>’s you want to hide in this conditional <?php if ( is_user_logged_in() ) : ?>

    @sandeepdude

    Participant

    Ok.. i found that i can edit this at the home.php in bphome theme.

    But how can i call a widget in buddypress?

    @windhamdavid

    Participant

    if you just want to hide the widget from non logged in users, just wrap a div around it in home.php. Register the widget area in functions.php in your template …you might want to start here. – https://codex.wordpress.org/WordPress_Widgets_Api

    @r-a-y

    Keymaster

    Or you could use a widget plugin like Widget Logic to control where and when a widget should show up in your sidebar.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Need Help in customizing user homepage…’ is closed to new replies.
Skip to toolbar