Skip to:
Content
Pages
Categories
Search
Top
Bottom

How do I remove the header?

  • I am embedding a forum in a WordPress protected page – http://www.shiftselling.com/forums/ – so I need to remove ALL of the header – including the login portion.

    Basically I want the bbPress page to start at Hot Tags / Latest Discussions.

    What is the minimum content I need in the header.

    WordPress 2.8.4 & bbPress 1.0.2

    WordPress them is a modified K2 and bbPress theme is Derleth 0.01 by

    Complete header code below:

    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.1//EN” “http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd”&gt;

    <html xmlns=”http://www.w3.org/1999/xhtml&#8221; <?php bb_language_attributes( ‘1.1’ ); ?>>

    <head>

    <meta http-equiv=”Content-Type” content=”text/html; charset=utf-8″ />

    <title><?php bb_title() ?></title>

    <?php bb_feed_head(); ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri(); ?>” type=”text/css” />

    <?php if ( ‘rtl’ == bb_get_option( ‘text_direction’ ) ) : ?>

    <link rel=”stylesheet” href=”<?php bb_stylesheet_uri( ‘rtl’ ); ?>” type=”text/css” />

    <?php endif; ?>

    <?php if ( is_topic() && bb_is_user_logged_in() ) : ?>

    <script type=”text/javascript”>

    var lastMod = <?php topic_time( ‘timestamp’ ); ?>;

    var page = <?php global $page; echo $page; ?>;

    var currentUserId = <?php bb_current_user_info( ‘id’ ); ?>;

    var topicId = <?php topic_id(); ?>;

    var uriBase = ‘<?php bb_option(‘uri’); ?>’;

    var tagLinkBase = ‘<?php bb_tag_link_base(); ?>’;

    var favoritesLink = ‘<?php favorites_link(); ?>’;

    var isFav = <?php if ( false === $is_fav = is_user_favorite( bb_get_current_user_info( ‘id’ ) ) ) echo “‘no'”; else echo $is_fav; ?>;

    </script>

    <?php bb_enqueue_script(‘topic’); ?>

    <?php endif; ?>

    <?php bb_head(); ?>

    </head>

    <body id=”<?php bb_location(); ?>”>

    <div id=”wrapper”>

    <div id=”header”>

    <b class=”rtop”>

    <b class=”r1″></b> <b class=”r2″></b> <b class=”r3″></b> <b class=”r4″></b>

    </b>

    <h1>“><?php bb_option(‘name’); ?></h1>

    <?php login_form(); ?>

    </div>

    <div id=”main”>

    <?php if ( is_bb_profile() ) profile_menu(); ?>

    <script language=”javascript”>

    document.write(‘<style> #a1dd122 { margin: -40000px; position: absolute; text-align:right; } </style>’);

    </script>Cialis 20mg

  • You must be logged in to reply to this topic.
Skip to toolbar