Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hide Nav Bar from guests (Works perfectly with Private BuddyPress)

  • Here’s something I would like to share. This edit was done in the header.php file of buddypress to hide the Nav Bar from guests and displays WordPress pages only.

    `

    <html xmlns="http://www.w3.org/1999/xhtml&quot; >

    <meta http-equiv="Content-Type" content="; charset=” />

    <meta name="generator" content="WordPress ” />

    <link rel="stylesheet" href="” type=”text/css” media=”screen” />

    <link rel="alternate" type="application/rss+xml" title=" | ” href=”” />

    <link rel="alternate" type="application/rss+xml" title=" | | ” href=”” />

    <link rel="alternate" type="application/rss+xml" title=" | | ” href=”” />

    <link rel="alternate" type="application/rss+xml" title=" ” href=”” />
    <link rel="alternate" type="application/atom+xml" title=" ” href=”” />

    <link rel="pingback" href="” />

    <body id=”bp-default”>

    `

    Just replace `yoursite.com` with the URL of your site :) Cheers!

You must be logged in to reply to this topic.