Skip to:
Content
Pages
Categories
Search
Top
Bottom

Check if is a specific profile screen.

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

  • modemlooper
    Moderator

    @modemlooper

    `if ( bp_is_current_component( ‘articles’ ) )`

    if you are on a sub tab item like the edit profile screen you use action

    `if ( bp_is_current_action( ‘edit’ ) )`


    enderpal444
    Participant

    @enderpal444

    Ohhh. I didn’t know I was actually creating a component just by adding a new nav. Thx @modemlooper!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Check if is a specific profile screen.’ is closed to new replies.
Skip to toolbar