Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do you edit the header file?

  • @geekoftodd

    Member

    Honestly I am very confused. Since they eliminated bp-sn-parent I tried looking at the core php files to alter the header markup but this was the only thing in the file.

    > id=”bp-default”>

    • class=”selected”>
    • class=”selected”>
    • class=”selected”>
    • class=”selected”>
    • class=”selected”>
    • class=”selected”>

    Does anybody know if this relates to another PHP file, is this some strange hook, or some weird error (everything else is working fine).

    Any help would be much appreciated

Viewing 6 replies - 1 through 6 (of 6 total)
  • @rogercoathup

    Participant

    @geekoftodd: Post your code using pastebin (pastebin.com) as it’s not showing in the forum

    The header.php file for the default BuddyPress theme is in /plugins/buddypress/bp-themes/bp-default

    Keep that theme where it is, and develop your child theme (derived from bp-default) in the standard themes directory

    @geekoftodd

    Member

    http://pastebin.com/embed_iframe.php?i=5fneWX9m

    *Edited by mod to remove iframe code

    @mercime

    Participant

    @r-a-y

    Keymaster

    geekoftodd – Just judging by your Pastebin code, it sounds like you have a corrupted header.php file; unless you incorrectly pasted the contents of it.

    @hnla

    Participant

    Corrupted or exploited? Iframes are the devils work and should have been outlawed ages ago and are removed in any sane schema.

    @rogercoathup

    Participant

    @geekoftodd is that really all you have in the header.php file in bp-default? If you site looks ok with the default install, that can’t be the case.
    If the default install isn’t displaying correctly, try deleting and then reinstalling the theme.
    As the guys point out – just type the basic URL of your pastebin snippet in your message here, don’t embed as an iframe

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How do you edit the header file?’ is closed to new replies.
Skip to toolbar