Skip to:
Content
Pages
Categories
Search
Top
Bottom

Member’s Only Section


  • Manish
    Participant

    @financetrain

    Hello I am using wordpress/buddypress for my website http://www.financetrain.com

    I want to create a new page which is accessible only to the registered members. How can this be done?

    Please help.

Viewing 1 replies (of 1 total)

  • Boris
    Participant

    @travel-junkie

    You can create a nwew page in the wp backend and use a custom template for it (you can find information on how to do that in the wordpress.org codex). At the top of that template file (before the function get_header()) you can put something like this:

    `global $bp;

    if( ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG .’/’ );`

Viewing 1 replies (of 1 total)
  • The topic ‘Member’s Only Section’ is closed to new replies.
Skip to toolbar