This topic has 1 reply, 2 voices, and was last updated 8 years by Radu.

  • Author
  • #104902
     rodrigo
    Participant

    Hello, I’m trying to use a custom member profile header . Because I want to use inside the <title> </title> fields of xprofile fields. How can I call my custom header and disable the default header?.

    This is possible?

    #105163
     Radu
    Moderator

    Hi,

    First you need to copy the header.php file into sweetdate-child folder then you should put entire header or portions of header into condition like this

    if(bp_is_members_component()) {

    echo ‘< title >‘

    echo ‘$xprofilevalue’;

    echo ‘< /title >‘;

    }else{

    //normal header layout

    }

    Cheers

    Radu

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?