Making WordPress.org


Ignore:
Timestamp:
06/04/2020 01:34:59 AM (4 years ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org/bbPress.org: Add Survey support to bb-base header area.

This commit introduces a new template part (header-survey.php) and uses it across the 3 BuddyPress.org WordPress themes (Codex, Developer, and Base).

Because Surveys are done annually, it makes the most sense to leave this as a template part that can more easily be included, excluded, and modified in future years.

Props mercime.

Fixes #5208.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/buddypress.org/public_html/wp-content/themes/buddypress-org/header.php

    r6965 r9953  
    88
    99    <div id="header">
     10        <?php get_template_part( 'header', 'survey' ); ?>
     11
    1012        <div id="header-inner">
    11         <?php get_template_part( 'header', 'nav' ); ?>
     13            <?php get_template_part( 'header', 'nav' ); ?>
    1214
    13         <h1><a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
    14     </div></div>
     15            <h1><a href="<?php bloginfo( 'url' ); ?>"><?php bloginfo( 'name' ); ?></a></h1>
     16        </div>
     17    </div>
    1518    <hr class="hidden" />
    1619
Note: See TracChangeset for help on using the changeset viewer.