Skip to:
Content
Pages
Categories
Search
Top
Bottom

Link to activity stream or create page with activity stream (following)


  • istvandk
    Participant

    @istvandk

    Hi guys

    I have a new wordpress site with buddypress on top.

    I have installed the follower plugin in order to make users follow the authors they like (important feature).

    However, it is a bit difficult to navigate via the toolbar -> profile -> activity -> following.

    Can I make a direct link to the users own activity stream (following)? (for example a link from a menu or inside some page to this: domain.com/members/[USERNAME-OF-LOGGED-IN-USER]/following/

    Or alternatively insert the activity stream (following) on a new page?

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

  • istvandk
    Participant

    @istvandk

    BUMP


    r-a-y
    Keymaster

    @r-a-y

    Use something like this in your template:
    `<?php
    if ( function_exists( ‘bp_loggedin_user_domain’ ) )
    echo trailingslashit( bp_loggedin_user_domain() . constant( ‘BP_FOLLOWING_SLUG’ ) );
    ?>`

    Omit the “function_exists” line if you’re using this in a BuddyPress template file.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Link to activity stream or create page with activity stream (following)’ is closed to new replies.
Skip to toolbar