Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
01/09/2011 07:21:59 PM (14 years ago)
Author:
djpaul
Message:

Adds .bypostauthor and 'big' CSS styles, and defines $content_width in functions.php, to meet WordPress Theme Review guidelines. Props to karmatosed. Fixes #2748 and #2753.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-themes/bp-default/functions.php

    r3682 r3687  
    2727 * @since 1.2
    2828 */
     29
     30/**
     31 * Set the content width based on the theme's design and stylesheet.
     32 *
     33 * Used to set the width of images and content. Should be equal to the width the theme
     34 * is designed for, generally via the style.css stylesheet.
     35 */
     36if ( ! isset( $content_width ) )
     37    $content_width = 591;
    2938
    3039if ( !function_exists( 'bp_dtheme_setup' ) ) :
Note: See TracChangeset for help on using the changeset viewer.