Making WordPress.org


Ignore:
Timestamp:
12/16/2024 07:53:28 PM (4 months ago)
Author:
johnjamesjacoby
Message:

BuddyPress/bbPress: enfreshen the bb-base theme

See: https://buddypress.trac.wordpress.org/ticket/9262

File:
1 edited

Legend:

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

    r7305 r14281  
    33    <?php if ( ! has_nav_menu( 'header-nav-menu' ) ) : ?>
    44        <ul id="bb-nav" class="menu">
    5             <li <?php if ( is_page( 'about'    ) ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'about'   ); ?>"><?php esc_html_e( 'About', 'bborg' ); ?></a></li>
    6             <li <?php if ( is_page( 'plugins'  ) ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'plugins' ); ?>"><?php esc_html_e( 'Plugins', 'bborg' ); ?></a></li>
    7             <li <?php if ( is_page( 'themes'   ) ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'themes'  ); ?>"><?php esc_html_e( 'Themes', 'bborg' ); ?></a></li>
    8             <li><a href="<?php echo esc_url( '//codex.' . parse_url( home_url(), PHP_URL_HOST ) . '/' ); ?>"><?php esc_html_e( 'Documentation', 'bborg' ); ?></a></li>
    9             <li <?php if ( is_post_type_archive( 'post' ) || is_singular( 'post' ) || is_date() || is_tag() || is_category() || is_home() ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'blog' ); ?>"><?php esc_html_e( 'Blog', 'bborg' ); ?></a></li>
    10             <?php if ( function_exists( 'is_bbpress' ) ) : ?><li <?php if ( is_bbpress() ) : ?>class="current"<?php endif; ?>><a href="<?php bbp_forums_url(); ?>"><?php esc_html_e( 'Support', 'bborg' ); ?></a></li><?php endif; ?>
     5            <li <?php if ( is_page( 'about'  ) ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'about' ); ?>"><?php esc_html_e( 'About', 'bborg' ); ?></a></li>
     6            <li <?php if ( is_page( 'make'   ) ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'make'  ); ?>"><?php esc_html_e( 'Make', 'bborg' ); ?></a></li>
     7            <li><a href="<?php echo esc_url( '//codex.' . parse_url( home_url(), PHP_URL_HOST ) . '/' ); ?>"><?php esc_html_e( 'Codex', 'bborg' ); ?></a></li>
     8            <li <?php if ( is_post_type_archive( 'post' ) || is_singular( 'post' ) || is_date() || is_tag() || is_category() || is_home() ) : ?>class="current"<?php endif; ?>><a href="<?php echo home_url( 'blog' ); ?>"><?php esc_html_e( 'News', 'bborg' ); ?></a></li>
     9            <?php if ( function_exists( 'is_bbpress' ) ) : ?><li <?php if ( is_bbpress() ) : ?>class="current"<?php endif; ?>><a href="<?php bbp_forums_url(); ?>"><?php esc_html_e( 'Forums', 'bborg' ); ?></a></li><?php endif; ?>
    1110            <li class="download<?php if ( is_page( 'download' ) ) : ?> current<?php endif; ?>"><a href="<?php echo home_url( 'download' ); ?>"><?php esc_html_e( 'Download', 'bborg' ); ?></a></li>
    1211        </ul>
Note: See TracChangeset for help on using the changeset viewer.