Making WordPress.org


Ignore:
Timestamp:
12/18/2024 04:59:53 AM (4 months ago)
Author:
johnjamesjacoby
Message:

BuddyPress.org/bbPress.org: small-screen bug fixes

  • Improve contrast of main nav
  • Prevent visible overflow on homepage
  • Numerous Trac nav & search improvments

Props slaffik, jtsternberg.

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

    r14281 r14309  
    77            <li><a href="<?php echo esc_url( '//codex.' . parse_url( home_url(), PHP_URL_HOST ) . '/' ); ?>"><?php esc_html_e( 'Codex', 'bborg' ); ?></a></li>
    88            <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; ?>
     9            <?php if ( function_exists( 'is_bbpress' ) ) : ?><li <?php if ( is_bbpress() && ! is_front_page() ) : ?>class="current"<?php endif; ?>><a href="<?php bbp_forums_url(); ?>"><?php esc_html_e( 'Forums', 'bborg' ); ?></a></li><?php endif; ?>
    1010            <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>
    1111        </ul>
Note: See TracChangeset for help on using the changeset viewer.